What is inside an Android APK file

前端 未结 2 1092
北恋
北恋 2020-12-19 18:58

Coming form a web development background where all your files are uploaded to a server individually, the APK file is very different to me!

From what I gather it’s ki

相关标签:
2条回答
  • 2020-12-19 19:28

    Android application package file. Each Android application is compiled and packaged in a single file that includes all of the application's code (.dex files), resources, assets, and manifest file. The application package file can have any name but must use the .apk extension. For example: myExampleAppname.apk. For convenience, an application package file is often referred to as an ".apk".

    0 讨论(0)
  • 2020-12-19 19:38

    The structure of an APK:

    |-- AndroidManifest.xml
    |-- META-INF // Signature Data
    |   |-- CERT.RSA
    |   |-- CERT.SF
    |   `-- MANIFEST.MF
    |-- classes.dex //  java byte code file generated after the compilation
    |-- res // resource files
    |   |-- drawable
    |   |   `-- icon.png
    |   `-- layout
    |       `-- main.xml
    `-- resources.arsc
    

    You can find more detailed information here: http://android-anything.diandian.com/post/2011-09-28/5377936

    0 讨论(0)
提交回复
热议问题