kolistivra
kolistivra

Reputation: 4429

Is there a difference between typical a ZIP file and an APK file?

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.

Upvotes: 9

Views: 11358

Answers (2)

j__m
j__m

Reputation: 9625

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.

Upvotes: 10

CommonsWare
CommonsWare

Reputation: 1006964

AFAIK, it is a completely standard ZIP file. I have had no problems working with an APK as a ZIP file using any tool I have tried.

Note that, as with regular ZIP files, not all entries will be compressed (varies by file type).

Upvotes: 7

Related Questions