Unable to resolve target 'android-16'
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.
Unable to resolve target 'android-17'
You can right click on your project -> properties -> Android -> Select the Target android version you want to compile and Apply !
If you don't have any target versions to compile, you probably need to download them on your SDK Manager
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.
Unable to resolve target 'android-XX'
- Right click on your project.
- Go to Properties.
- Choose Android on the left side.
- On the right, you can see a list of Android API versions. Choose the proper version (Android API 15).
- Click Apply.
If you don't see the proper version, click on the Window menu, go to Android SDK Manager and download Android API 15 (Android 4.0.3). Repeat the steps above.
In the picture below, you can see API 16; not 15. You can download API 15 using Android SDK Manager. If you already have it, click the check box next to Android 4.0.3, click Apply and then OK.
To download an SDK from the SDK manager in Eclipse, click on the Window menu, Android SDK Manager. You should see the following window. Check Android 4.0.3 which is API 15, and click Install.
Unable to resolve target 'android-15' until the SDK is loaded
In Eclipse go to window --> Android SDK manager and in sdk manager check whether you have installed sdk for api level 15 or not. And also right click on your project go to properties there is Android tab on left hand side pannel. Click on it that will show you project build target. Make it to higher version.
Unable to resolve target 'android-19'
Go to Windows -> Android SDK Manager
Install the Android API Level you want, in this case 19.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.
Unable to resolve target 'android-18' error
In ``default.properties` file .
set target=android-18
.
Check also that you installed this API level and check it in properties window, like:
In my case 17 is selected
Unable to resolve target 'Google Inc.:Google APIs:16'
Modify the AndroidManifest.xml file so that any versions in there are Android 2.2. Also change the version of the SDK used by right clicking the project in eclipse and go to properties->android and change the version to 2.2. Some things might break though. Usually the version declared in the manifest is declared because the project uses SDK features only available for that version or later.
Related Topics
Android Studio (Not Installed), When Run Flutter Doctor While Android Studio Installed on Machine
How to Clear The Android Stack of Activities
Android Studio Could Not Find Any Version That Matches Com.Android.Support:Appcompat-V7:+
How to Close Android Soft Keyboard Programmatically
Your Project Path Contains Non-Ascii Characters Android Studio
How to Access an Existing Sqlite Database in Android
Add Margin Between a Radiobutton and Its Label in Android
How to Print a Double with Two Decimals in Android
How to Prevent The Activity from Loading Twice on Pressing The Button
Android Intercept Recent Apps Button
Selecting Contact from Autocomplete Textview
How to Save Data from Camera to Disk Using Mediastore on Android
How to Measure Upload/Download Speed and Latency in Android Wifi Connection
Android Send a Image and Save Url
How to Change Android:Windowsoftinputmode Value from Java Class