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

查看:57
本文介绍了典型的 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 文件.还有更多的东西 - 必须存在的文件,事实上 zipalign 通常用于对齐文件中的数据结构 - 但它都是有效的 ZIP.

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天全站免登陆