【问题标题】:adding google apis for android sdk为 android sdk 添加 google api
【发布时间】:2014-08-13 21:17:22
【问题描述】:

我正在尝试为我的 android sdk 添加 google api,以便我可以将 Google Maps API 用于我的项目。

当我转到 android SDK 和 AVD 管理器,然后转到可用包,然后选择 Google APIs。它们未安装,我收到以下错误消息:

Downloading Google APIs by Google Inc., Android API 10, revision 2
File not found: C:\Android\temp\google_apis-10_r02.zip (Access is denied)
Downloading Google APIs by Google Inc., Android API 9, revision 2
File not found: C:\Android\temp\google_apis-9_r02.zip (Access is denied)
Downloading Google APIs by Google Inc., Android API 8, revision 2
File not found: C:\Android\temp\google_apis-8_r02.zip (Access is denied)
Downloading Google USB Driver package, revision 4
File not found: C:\Android\temp\usb_driver_r04-windows.zip (Access is denied)

我一无所知。请帮忙。

【问题讨论】:

    标签: android google-maps


    【解决方案1】:

    如果您使用 android SDK 管理器,请确保以“管理员身份”运行它。我遇到了同样的问题,发现在第一次基本安装 SDK 管理器(在 UAC 下运行,因此具有管理员权限)后安装/删除附加部件时它挂起。与 Eclipse 无关,尽管有时您可以在该工具中遇到类似问题,以及解决方案也以管理员身份运行。

    【讨论】:

    • 非常感谢,我一直在寻找这个问题。。其他一切都很好,但谷歌 API 遇到了麻烦。现在它成功了 :)
    【解决方案2】:

    当你使用 eclipse 时,你有正确的权限在 C:\Android 中安装东西吗?

    问候, 斯蒂芬

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-12-30
      • 2020-08-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-05-18
      • 2017-08-02
      • 2019-05-14
      相关资源
      最近更新 更多