Android Packaging installation process

Source: Internet
Author: User

1.

Package installation process: Run as Android application

1. Build the APK file.

1). Generate A. dex file (Generate. dex. java).:. Java-Javac--Dx.bat

2). Generate RESOURCES.ARSC for the Resource Index table.

3). Prepare the files that are not compiled.

4). The. manifest file Androidmenifest.xml file is converted to binary.

5). Use Debug.keystore to package and sign the entire application.

2. Load the APK file into the emulator.

Load the apk file into/data/local/tmp/xxx.apk

3. Install the application.

1). Put the/data/local/tmp/xxx.apk file, cut the/data/app/package name -1.apk

2). Under the/data/data/folder, create a folder with the package name to store the data for the current program.

3). Add a separate record in the Packages.xml and packages.list files.

Android Packaging installation process

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.