Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to resolve target 'android-19'

I want to work with Android API 19. I changed inside project.properties file target=android-19. In AndroidManifest.xml. I have this :

<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="19" />

But in project properties I have this : enter image description here

How can I change API level to 19 there to get rid of the error in the title. Thanks.

like image 562
jason Avatar asked Jul 29 '14 21:07

jason


3 Answers

  1. Go to Windows -> Android SDK Manager Install the Android API Level you want, in this case 19.

  2. Once you've finished installing, go to Window -> Preference -> Android. You should get a list of available targets. Click 'Apply' then 'Ok'.

  3. Now right click your project, go to properties. Click Android. Choose your desired target.

like image 176
Raghuveer Avatar answered Nov 04 '22 21:11

Raghuveer


  1. Right click on your project
  2. Go to properties -> Click Android (Left pane)
  3. Select Your project target version.
  4. Restart the Eclipse
  5. Clean the project (click Project menu-> clean)
  6. Now run the project.
like image 42
Vicky Avatar answered Nov 04 '22 21:11

Vicky


Window -> Preference -> Android. You should get a list of available targets. Click 'Apply' then 'Ok'.

Now right click your project, go to properties. Click Android. Choose your desired target.

like image 39
Hemanth G Nag Avatar answered Nov 04 '22 21:11

Hemanth G Nag