Upgrade android to a lower version

Source: Internet
Author: User

If the android application installation package APK is developed on a later Android jar, it cannot be run on a later Android SDK, therefore, we need to replace the developed application with an android jar package of a lower version to re-compile an APK. How can we simply modify it directly in the High Version project:


1. In eclipse, click "project"> "properties"> "android". Select "Android 2.2" on the right side of the page (provided that your android SDK contains both Android jar packages)

Or open default. properties file. In the root directory of the project, change target = Android-10 (2.3) to target = Android-8 (2.2 ), in this way, the original Android jar 2.3 is changed to Android jar 2.2. After the modification is completed, eclipse automatically changes the android
Replace jar 2.3 with Android jar 2.2

2. Open the androidmanifest. xml file and change <uses-SDK Android: minsdkversion = "10"/> to <uses-SDK Android: minsdkversion = "8"/> to save the file.

3. recompile the project to generate an APK:

Menu Bar-> Project-> clean

You can run this application on Android V2.1.

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.