简体   繁体   中英

Unable to resolve target 'android-21'

I have the latest ADT plugin for eclipse: ADT-23.0.4 .
Eclipse Version: Luna Service Release 1 (4.4.1) .

Still I am getting this error while importing a project:

Unable to resolve target 'android-21'

Right Click on Project -> Properties -> android -> choose your target api level you have, Then press Apply and Ok

And clean the project once and rebuild it.

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

Once you've finished installing, go to 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM