找不到适用于 Android SDK 的 Google API [英] Cannot Find Google APIs for Android SDK

查看:34
本文介绍了找不到适用于 Android SDK 的 Google API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试创建一个使用 Google 地图的应用程序,并且在收到MapActivity"错误后,我在网上搜索并发现解决方案是将我的构建目标设为Google API".

I've been trying to create an application that uses Google Maps and upon getting an error for "MapActivity" I searched the web and found the solution was to make my build target "Google APIs".

但是,我查看了 Eclipse 中的Android SDK 和 AVD 管理器",我可以在任何地方找到它:(

However, I looked in the "Android SDK and AVD Manager" in Eclipse, I could find it anywhere :(

我查看了第三方附加组件">Google Inc",但它只是说未找到软件包".

I looked under "Third part Add-ons">"Google Inc" but it simply says "No packages found".

有什么帮助吗?

推荐答案

如果您使用的是最新版本的 SDK (ADK 14),则 Google API 包应位于包含相应 SDK 级别的文件夹中SDK 管理器.

If you're using the latest version of the SDK (ADK 14), the Google API packages should be located in the folder containing the appropriate SDK level in the SDK manager.

例如,对于 Android 2.2,应该有一个名为Android 2.2 (API 8)"的文件夹,其中应该包含 SDKSDK Platform"和其他部分,例如 Google APIsGoogle APIs by Google, Inc."..

For example, for Android 2.2, there should be a folder called "Android 2.2 (API 8)" which should contain the SDK "SDK Platform" and additional pieces such as the Google APIs "Google APIs by Google, Inc.".

这篇关于找不到适用于 Android SDK 的 Google API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆