Detailed explanation of Android app packaging and Installation Process
Android Application Package and installation process (Run as Android Application): 1. Process: Android Project --> Compilation and Packaging --> Android Package(.apk) --> Signing -- (ADB) --> Device or Emulator2, Android Package(.apk) after decompression content: META-INFCERT.RSA: Encrypted resdrawablelayoutmenuAndroidManifest. xmlclasses. dexresource. arsc1. generate the apk file 1. dex file: classes. dex2) generate the resource index table: resources. arsc1: the XML resource file is compiled and converted from the text format to binary 2, and the resource index table resources. arsc and convert it to binary format 3) Prepare uncompiled files 4) list file AndroidMenifest. convert the xml file to binary. 5) use. android/debug. keystore package and sign (encrypt) the entire application 2. load the apk file to the simulator and load the apk file to/data/local/tmp/xxx.apk 3. install Application 1) Cut the/data/local/tmp/xxx.apk file to/data/app/package name -1.apk 2) in the/data/folder, create a folder with the package name to store the data of the current program. 3) in/data/system/packages. xml and/data/system/packages. add a record to the list file