找不到谷歌的API Android SDK中找不到、API、SDK、Android

2023-09-03 23:00:12 作者:废物

我一直在试图创建一个使用谷歌地图的应用程序,并在得到一个错误MapActivity我在网上搜索,找到了解决办法是让我的构建目标谷歌的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 :(

我看了下三部分加载项>谷歌公司,但它只是说没有包找到。

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

任何帮助,请?

推荐答案

如果你使用的SDK(ADK 14)的最新版本中,谷歌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平台和附加件,如谷歌API的谷歌的API由谷歌公司

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.".