Select to view content in your preferred language

Unable to resolve target 'android-10'

7245
5
10-24-2013 10:17 AM
KeithWeber
Occasional Contributor
I just finished installing eclipse, android SDK, etc. following the directions in the ArcGIS tutorial.  Everything went smoothly until I tried to make my first project.  I think this might all be due to the "package name" when creating a new project.  What is supposed to be used here?
0 Kudos
5 Replies
KeithWeber
Occasional Contributor
I just loaded the sample "hello world" and it too came back with the same error message.  Unable to resolve target 'android-10'.
0 Kudos
ThomasBinu
Deactivated User
Right click the project->Properties->Android. In the project build target dialog, select the latest android SDK(4.3). In the AndroidManifest.xml file, the minimum, sdk version is set to 10(Android gingerbread 2.3). Make sure the 2.3 sdk is downloaded from the android sdk manager.
0 Kudos
DanO_Neill
Deactivated User
The Hello World sample depends on Android Build Target 10 API level 2.3.3.  Please ensure that you have the platform installed.  You can refer to this document to add platforms and packages to your Android SDK.
0 Kudos
TimWilliams
Deactivated User
I had the "Unable to resolve target" error along with other random errors.
I fixed it by making the target match the installed platform.
In windows explorer I went to the SDK/platforms directory. In it was a folder named android-19. This indicated I had the android-19 platform installed. I then edited AndroidManifest.xml and project.properties to set the target to android-19.
All errors went away.
0 Kudos
TimWilliams
Deactivated User
Correction: android-19 is the API level not the platform.
I made the target match the API.
0 Kudos