不能导入com.google.android.maps.MapViewgoogle、com、android、MapView

2023-09-08 00:17:31 作者:一杯忘情

不幸的是漫长的一天搜索后我找不到任何有用的东西给我。

Unfortunately after a long day searching I couldn't find anything useful for me.

我的问题是,我不能用延长MapActivity或者说导入libary。我试图用谷歌APIinsted的Android的API像recomended一些其他线程,但问题是,我没有谷歌API在我的SDK管理器下载或选择的。

My Problem is that I couldn't use "extend MapActivity" or rather import the libary. I tried to use "Google API" insted of "Android API" like recomended in some other threads but the problem is that I have no "Google API" in my SDK Manager to download or choose.

我的Andr​​oid SDK管理器所以,我在我的Android SDK管理器只是Android的蜜蜂从是Android 1.5(API 3)到的Andr​​oid 4.0.3(API 15),并没有谷歌API。

My Android SDK Manager So, I have in my "Android SDK Manager" just the Android Apis from "Android 1.5 (API 3)" to "Android 4.0.3 (API 15)" and no "Google API".

下面是一个例子,谷歌API是内部可用的Android 4.0.3(API 15)的安装谷歌的API ...

Here is an example where the "Google API" is available inside the "Android 4.0.3 (API 15)" Installing the Google APIs...

有没有posibility下载或以不同的方式导入谷歌API还是我做错了什么?

Is there any posibility to download or import the "Google API" in a different way or am I doing something wrong?

推荐答案

我有同样的问题,不同的解决方案,我

I had the same problem with a different solution, I

右键点击我的包Exploere项目,并选择建立Path->配置构建路径选择Java构建路径和库标签选择添加外部JAR浏览到我的SDK /插件/插件,google_apis_google_inc _- /库选择maps.jar

当时我能够导入com.google.maps。*

I was then able to import com.google.maps.*

 
精彩推荐
图片推荐