Android App Pack and install process detailed

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.