Detailed explanation of Android app packaging and Installation Process

Source: Internet
Author: User

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

Related Article

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.