无法导入com.google.android.maps.MapActivity [英] Can not import com.google.android.maps.MapActivity
问题描述
我尝试导入com.google.android.maps.MapActivity ,但我的程序无法识别它。我也有< uses-library android:name =com.google.android.maps/>
并在我的项目中设置apiKey。 / p>
任何人都可以解释为什么我可以导入以上行?
提前感谢。
您要使用什么Android版本?在您的项目设置中,请确保使用包含google API的项目构建目标。通常它们是Google API的名称。
我包含了项目设置的图像。
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.
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屋!