无法导入com.google.android.maps.MapActivity [英] Can not import com.google.android.maps.MapActivity

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

问题描述

我尝试导入com.google.android.maps.MapActivity 但是我的程序不能识别它。我也有<使用库机器人:名称=com.google.android.maps/> 并设置apiKey在我的项目。

I try to import com.google.android.maps.MapActivity but my program can not recognize it. I also have <uses-library android:name="com.google.android.maps" /> and set the apiKey in my project.

任何人都可以解释为什么我可以导入上述行? 先谢谢了。

Can anybody explain why I can import the above line? Thanks in advance.

推荐答案

Android版本给你用什么?在项目设置确保您使用包含谷歌API项目构建目标。通常他们是名字谷歌的API。

What Android Version to you use ? On your project Settings make sure that you use a Project Build Target that contains the google api. Normally they are names "Google APIs".

我列入的项目设置的图像。

I included an image of the project settings.

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

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