Android apk contains the number of files that all contains program's code, assets, resources, permissions, certification and manifest file.
You can also check the contents of apk file by just following these steps.
- Rename .apk extension to .rar.
- Extract these files with help of decompression tools such as Winrar or Winzip.
Usually apk file contains the following file
- lib
- res
- assets
- classes.dex
- AndroidManifest.xml
- META-INF directory
- resources.arsc
lib
It contains the compiled code that is specific to a software layer of a processor, the directory is split into more directories within it.
- armeabi: compiled code for all ARM based processors only
- armeabi-v7a: compiled code for all ARMv7 and above based processors only
- x86: compiled code for x86 processors only
- mips: compiled code for MIPS processors only
res
Contains the resources file such as layout, images and few xml files, which are not compiled into resources.arsc
Assets
It contains assets files specific to a particular project, which can be retrieved with use of Assets Manager, these files have been integrated to a project by the user.
Classes.dex
It contains the compiled classes in the dex format, which is being understandable by Dalvik Virtual Machine
AndroidManifest.xml
An additional Android manifest file, describing the name, version, access rights, referenced library files for the application.
META-INF directory
Its java's internal meta directory contains the following files
- MANIFEST.MF: the Manifest file
- CERT.RSA: The certificate of the application.
- CERT.SF: The list of resources and SHA-1 digest of the corresponding lines in the MANIFEST.MF file
resources.arsc
Contains the pre compiled resources file such as layout, images and few xml files
No comments:
Post a Comment