Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to resolve target 'android-18' error

Tags:

android

i am unable to download target android-18 file

i am unable to download target android-18 file

like image 364
Sherry Avatar asked Sep 21 '13 08:09

Sherry


3 Answers

In ``default.properties` file .

set target=android-18.

Check also that you installed this API level and check it in properties window, like:

enter image description here

In my case 17 is selected

like image 182
Maxim Shoustin Avatar answered Nov 19 '22 13:11

Maxim Shoustin


Right click on your project select Properties(Alt+Enter), goto Android(Project build Target)-> Check Android 4.2.2 or earlier version which you have, click on Apply-> OK, that's it.

finally clean your project, Done!!

like image 33
Rajesh Avatar answered Nov 19 '22 15:11

Rajesh


  1. First open Android SDK Manager and check whehther API18 (Android 4.3) SDK platform is downloaded or not. If not download it by selecting check box then accept license and press install package.
  2. Next close and open eclipse again.
  3. now it will show API18 (Android 4.3) SDK platform in Android SDK Manager as installed.
  4. after that select project -> Properties -> Android -> mark checkbox Android 4.3 in project build target ->apply ->ok.
  5. select project -> project-> clean.
like image 2
Nikhil Kumar Avatar answered Nov 19 '22 15:11

Nikhil Kumar