Android Learning--apk Packaging process

Source: Internet
Author: User

1. Using the AAPT tool, generate the corresponding id,id for the resource files in all RES directories to be placed in the R.java file.

2. Javac compiler, converts all Java files into class files, where the inner class generates. class files, named in the mainactivity$ inner class. Class R$string.class, etc.

3. Extract the common constants in class to generate the Dex file

4. AAPT the generated menifest+dex+resource+ program signature into a ZIP format, which is actually the APK format. Description, Meta-inf is the program signature information

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.