Android App Packaging installation process (Run as Android application): 1, Process: Android Project--compilation and packaging----Android package ( . apk)---Signing--(ADB)----the content of the Device or Emulator2,android package (. apk) after decompression: Meta-infcert. RSA: Encryption resdrawablelayoutmenuAndroidManifest.xmlclasses.dexresource.arsc1. Build apk file 1) generate a. dex file: CLASSES.DEX2) Generate Resource Index Table: Resources.arsc1,xml resource files are converted from text format to binary 2, Generate Resource Index Table RESOURCES.ARSC and convert to binary Format 3) prepare the files for non-compilation 4) Manifest files Androidmenifest.xml file converted to binary 5) use. Android/debug.keystore to package the entire application (encryption) 2. Load the APK file into the emulator to load the APK file into the/DATA/LOCAL/TMP/XXX.APK3. Install the application 1) the/data/local/tmp/xxx.apk file, cut to/data/app/package name -1.apk2) in the/data/data/folder under the package name to create a folder to store the current program Data 3) in the/data/ Add a record to the System/packages.xml and/data/system/packages.list files separately
Android App Pack and install process detailed