APK file structure
Manifest file in binary XML format which contains essential information about the application. This information is consumed by the Android operating system, Google Play and Android build environment.
This file contains the package name, permissions, android api version, activities, services, broadcast receivers, content providers, ... It can be useful to find the entrypoint of the application.
This folder typically contains MANIFEST.MF, CERT.RSA and CERT.SF files.
CERT.RSA and CERT.SF files contain security certificates for Android application. More specifically CERT.SF contains the list of all files inside the APK with their SHA-1 digests. CERT.RSA contains public certificate of the app.
- File containing precompiled application resources, in binary XML.
- Folder containing resources not compiled into resources.arsc. Resources may include XML files, images, string files, icons, user interface layouts, fonts and many more.
- Optional folder containing applications assets, which can be retrieved by AssetManager.
- Application code compiled in the dex format.
Optional folder containing compiled code - i.e. native code libraries (C/C++).
armeabi: compiled code for ARM based processors
armeabi-v7a: compiled code for ARMv7 and above processors
arm64-v8a: compiled code for ARMv8 arm64 and above processors
x86: compiled code for x86 processors
x86_64: compiled code for x86_64 processors
mips: compiled code for MIPS processors
/data/data/<package>/ : Application data /data/data/<package>/databases : Application databases /data/data/<package>/shared_prefs/ : Application shared preferences /data/app : Apk installed by user /system/app : Pre-installed APK files