Build process for Android Analytics application

Source: Internet
Author: User

In order to facilitate the development of Android applications we have a deeper understanding of androidproject preparation and packaging, for example, we know what it is to do every step of the landscape and tools. What the inputs and outputs are. Wait a minute.

In the previous "command line Android app development" We already know how to create a androidproject and compile an application that performs a debug version number. This article describes the entire compilation process for Androidproject.

First, analyze how Ant will package Androidproject compilation into an apk file.

Run Ant Debug command when Ant Script Build.xml each Target graph of dependencies between

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvsgfuvgfuz1nvbmdnaw5n/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma== /dissolve/70/gravity/southeast ">


Run Ant Debug command when Ant script each Target Run sequence diagram




Android application build process Diagram



from the above illustrations, we can summarize Androd The application build process is for example the following:

1 , generating the R.java class file

2 , convert. aidl files to. Java class files

3 , compiling. Java class file generation class file

4 , package class file to generate Classes.dex file

5 , package resource files (including res, assets, A ndroid M Anifest.xml, etc.)

6 , Generate Debug mode-Signed APK file

7 , the a PK File Tuning Process


Copyright notice: This article blog original articles, blogs, without consent, may not be reproduced.

Build process for Android Analytics application

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.