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.