Java 我在哪里可以找到 google-play-services_lib.jar?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/21096826/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-13 06:32:34  来源:igfitidea点击:

Where can I find google-play-services_lib.jar?

javaandroidgoogle-maps-android-api-2

提问by nervosol

I was following this tutorialto achieve support for Google Maps V2 on Android. Unfortunately during second step I didn't select copy to workspace option and I deleted project with \extras\google\google_play_services\libproject\google-play-services_libdirectory. After that I have noticed that I remove google-play-services_lib.jar, but it still was present in SDK. I have deleted Google Play Services and installed them again, but still there is no google-play-services_lib.jar. What should I do?

我正在按照本教程在 Android 上实现对 Google Maps V2 的支持。不幸的是,在第二步中,我没有选择复制到工作区选项,而是删除了带有\extras\google\google_play_services\libproject\google-play-services_lib目录的项目。之后我注意到我删除了google-play-services_lib.jar,但它仍然存在于 SDK 中。我已经删除了 Google Play 服务并重新安装了它们,但仍然没有google-play-services_lib.jar. 我该怎么办?

采纳答案by Alejandro Cumpa

Donwload it from the SDK Manager and then go to the folder "\sdk\extras\google\google_play_services\libproject\google-play-services_lib"

从 SDK Manager 下载它,然后转到文件夹“\sdk\extras\google\google_play_services\libproject\google-play-services_lib”

回答by Vahid

Visit this site and download google play service https://code.google.com/p/google-api-java-client/wiki/APIs

访问此站点并下载 google play 服务https://code.google.com/p/google-api-java-client/wiki/APIs