Android SDK 管理器中的 Extras 文件夹中缺少 Google Play 服务
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/24506247/
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
Google Play Services Missing from Extras folder in SDK Manager
提问by shujj
So basically I can't find the option to install/download the Google Play Services in the Extras folder of the Android SDK Manager. What could be the possible reasons ? Meanwhile can somebody provide the link to download the lib from the Web ?
所以基本上我在 Android SDK Manager 的 Extras 文件夹中找不到安装/下载 Google Play Services 的选项。可能的原因是什么?同时,有人可以提供从 Web 下载 lib 的链接吗?
回答by Gregg Reno
I had the same problem and finally figured out a solution that worked for me. Here's what I did:
我遇到了同样的问题,终于找到了一个对我有用的解决方案。这是我所做的:
- Go to Help -> Install New Software.
- My android environment was already set up, so I picked "https://dl-ssl.google.com/android/eclipse/" from the drop down menu
- Check the top level option - "Developer Tools"
- Hit the next button and follow the prompts. It said I already had it installed and this would apply an update
- Ran the SDK Manager again and it now showed me the Google Play Services option to install
- 转到帮助 -> 安装新软件。
- 我的android环境已经设置好了,所以我从下拉菜单中选择了“ https://dl-ssl.google.com/android/eclipse/”
- 检查顶级选项 - “开发人员工具”
- 点击下一步按钮并按照提示操作。它说我已经安装了它,这将应用更新
- 再次运行 SDK Manager,它现在向我显示了要安装的 Google Play 服务选项
回答by Rockystar
Same problem, there are only 2 items (Android Support Library and Intel Emulator Accelerator) in my Extras folder... I running Windows 8.1 64bit , so maybe a bug..
同样的问题,我的 Extras 文件夹中只有 2 个项目(Android Support Library 和 Intel Emulator Accelerator)......我运行的是 Windows 8.1 64bit ,所以可能是一个错误..
回答by Simar
Solution:
Step 1: Update everything you already have installed using the SDK manager
Step 2: Reopen SDK manager, you should see more stuff under extras including Google Play Services.
解决方案:
第 1 步:使用 SDK 管理器更新您已经安装的所有内容
第 2 步:重新打开 SDK 管理器,您应该会在包括 Google Play 服务在内的附加功能下看到更多内容。
回答by Androidcoder
If your at SDK 19 you may not have it show because your SDK is too low, at least it was the case for me. I was offered it among 17 other install recommendations after upgrading to SDK 20, SDK Tools 23.
如果你在 SDK 19 你可能没有显示它,因为你的 SDK 太低,至少对我来说是这样。升级到 SDK 20、SDK Tools 23 后,我在其他 17 条安装建议中获得了它。
回答by socm_
Downloading new version of adt solved my problem
下载新版本的 adt 解决了我的问题
回答by Amr Angry
i had the same problem and i solved by install the last SDk update and build tools and the google_play_services appear in tools folder to download
我遇到了同样的问题,我通过安装最新的 SDk 更新和构建工具解决了,google_play_services 出现在工具文件夹中以供下载
回答by satham
here is the solution i got it. please download new version of the android adt bundle and extract the folder then go to the folder right click the sdk manger and run at administrator and restart your system open eclipse go to sdk manager under extras folder you have google play services finally update it.
这是我得到的解决方案。请下载新版本的android adt包并解压缩文件夹然后转到文件夹右键单击sdk管理器并以管理员身份运行并重新启动系统打开eclipse转到额外文件夹下的sdk管理器你有谷歌播放服务最终更新它。
回答by Badrul
where are you looking for Google Play Services?
您在何处寻找 Google Play 服务?
After installing it via SDK Manager, you can get it in your SDK folder extras/google/google_play_services
通过 SDK Manager 安装后,您可以在您的 SDK 文件夹 extras/google/google_play_services 中获取它
You have to import it first in your IDE and then include in your project as a library project.
您必须先在 IDE 中导入它,然后将其作为库项目包含在您的项目中。
回答by Jo?o Victor
Open your SDK Manager and update Android SDK Tools. I had the same problem and this solved.
打开您的 SDK 管理器并更新 Android SDK 工具。我有同样的问题,这解决了。