有一个典型的ZIP文件和APK文件有区别吗? [英] Is there a difference between typical a ZIP file and an APK file?

查看:511
本文介绍了有一个典型的ZIP文件和APK文件有区别吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道一个典型的APK文件将有AndroidManifest.xml中,但是这不是我要求的方面。我问在ZIP的结构和标题,即方面在较低水平的角度来看。

I know a typical APK file would have AndroidManifest.xml but that's not the aspect I ask for. I'm asking in terms of ZIP structure and headers, i.e. at a lower level perspective.

推荐答案

所有APK文件是一个有效的ZIP文件。还有更多的它比 - 文件必须是present,即的zipalign 通常用于对齐文件中的数据结构的事实 - 但它的所有有效的邮政编码。

Any APK file is a valid ZIP file. There's more to it than that - files that must be present, the fact that zipalign is normally used to align data structures within the file - but it's all valid ZIP.

这篇关于有一个典型的ZIP文件和APK文件有区别吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆