不能导入com.google.android.maps.MapView [英] can't import com.google.android.maps.MapView

查看:255
本文介绍了不能导入com.google.android.maps.MapView的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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


  1. 右键点击我的包Exploere项目,并选择建立Path->配置构建路径

  2. 选择Java构建路径和库标签

  3. 选择添加外部JAR

  4. 浏览到我的SDK /插件/插件,google_apis_google_inc _- /库

  5. 选择maps.jar

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

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

这篇关于不能导入com.google.android.maps.MapView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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