为Android sdk添加谷歌apis

时间:2011-08-06 10:21:28

标签: android google-maps

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

当我去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)

我很无能为力。请帮忙。

2 个答案:

答案 0 :(得分:2)

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

答案 1 :(得分:0)

使用eclipse时,您是否拥有在C:\ Android中安装内容的权限?

此致  斯特凡

相关问题