Application using Google APIs:10

北城以北 提交于 2019-12-24 12:25:06

问题


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.


回答1:


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.




回答2:


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" />



回答3:


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.



来源:https://stackoverflow.com/questions/8375560/application-using-google-apis10

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!