After setting up the Android build environment, I use Eclipse to import the Android source code compiled by flushing git, and I will prompt
Unable to resolve target ' android-17 '
such as "Unable to resolve target ' android-xx '" error prompt.
This is because the project target settings in Project.Properties in the imported item code are inconsistent with the current Eclipse environment settings.
Workaround:
After you import the Android project, see the left of your project file, select your Android project name project, right click, pop-up options, then select Propeties-->android, then you will see the following display:
According to the picture shown, you will see the different Android version corresponding to the API number, choose the correct, if not the API you want, then go to the Android SDK manager to download the corresponding API of the Android version.
You can go to Android SDK Manager to see which Android version you have and the corresponding API level, below is the Android SDK Manager:
Reprint Please specify: Stride ' s blog»unable to resolve target ' android-xx ' solution
Unable to resolve target ' android-xx ' solution