Modify Android Engineering version

Source: Internet
Author: User

Android App install package APK if it was developed on a higher version of the Android Jar is not able to run on the lower version of the Android SDK, so we need to replace our already developed applications in the lower version of the Android jar package to recompile an APK, So how to simply modify in the higher version of the project directly:


1. Click on Project->properties-> Android in Eclipse to select Android 2.2 in the interface on the right (if your Android SDK contains these two versions of the Android Jar package)

or open the Default.properties file, in the project's root directory, the TARGET=ANDROID-10 (2.3) is modified to target=android-8 (2.2), so that the original Android jar 2.3 Modified to Android Jar 2.2. After the modifications are saved, eclipse will automatically replace the Android Jar 2.3 in the project with the Android Jar 2.2

2, open Androidmanifest.xml file, will <uses-sdk android:minsdkversion= "ten"/> Modified to <USES-SDK android:minsdkversion= "8" /> Save the file.

3. Recompile the project to generate APK:

Menu Bar->project->clean

You can run this app on V2.1 's Android system.


4. If there is a class not found error, remember to first select all third-party jar packages, add to build path, select the Lib directory, use as source.

Then the menu bar->project->clean

You can resolve errors that are not found by the third-party jar package class.

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.