Unable to resolve target 'android-16'

user1822729 picture user1822729 · Mar 7, 2013 · Viewed 87.7k times · Source

I am using Android 4.2.2. After installing the latest SDK, when I open the eclipse I could see all the projects having the problem during the build. Following is the error i get. Please let me know how to resolve this?

Unable to resolve target 'android-16'

Answer

Veger picture Veger · Mar 7, 2013

I have had the same problem, after an update I got a similar error.

It can be fixed to manually edit the project.properties file and update the android-16 part to the latest one you have installed. In your current case that is android-17.

I guess it can be configured using Android ADT as well, but I could not figure it out and this was quicker

Furthermore, you have to update your manifest as well, make sure you have android:targetSdkVersion set to 17.