API Level for Eclipse for Android

Once I created a project using the Android wizard, how do I change the API package from 1.5 to 2.1?

I do not mean the xml application in which the minimum API is installed, I mean the jar included in my project in the Google API.

+53
android eclipse
May 31 '10 at 14:11
source share
2 answers

Do you use Eclipse for this because you have flagged the question using eclipse. If you use Eclipse, just right-click on your project, select the Android properties now. Now you can choose another build target. If you want the API package to change the checkbox from 4 to 7.

If you are not using Eclipse and want to use the Android console program, use the android program for terminals as follows.

android update project -p <path to project> -t <new target api level> 
+59
May 31 '10 at 2:16
source share

Using Eclipse, it can incorrectly change the SDK version by simply right-clicking and properties. Open the manifest file and change the line

 <uses-sdk android:minSdkVersion="number-of-version-you-want" /> 
+48
Jul 25 2018-11-21T00:
source share



All Articles