Reputation: 1426
I've opened an old project which is using Google API 10.
after updating with SDK Manager to the newest update (API 14, ect.) google removed API 10 and it no longer comes with the sdk.
so now when i open my Project with Eclipse it says: "Unable to resolve target 'Google Inc.:Google APIs:10'"
Is there a way to: 1) Download the old Google API 10 ? 2) To make this project use the updated APIs and not to obligate me to the old Google API 10?
Thanks.
Upvotes: 1
Views: 6940
Reputation: 1426
I have found the answer! and it wasn't trivial to my opinion....
I went to "project.properties" file, and i had a row there says:
"target=Google Inc.:Google APIs:10"
and I changed it to:
"target=android-10"...
Thanks everybody for trying to help.
Upvotes: 4
Reputation: 525
SDK Manager in Eclipse should allow you to download SDKs back to API version 3.
And for the second question: updating those attributes in your AndroidManifest file should serve the purpose:
<uses-sdk
android:minSdkVersion="X"
android:targetSdkVersion="X" />
Upvotes: 2
Reputation: 5980
Open your SDK Manager, you can download all SDK versions back to API 3. You can have them all and just work with them separately, you're not bound to using one single API version.
Upvotes: 0