不幸的是经过漫长的一天搜索后,我找不到任何对我有用的东西.
我的问题是我不能使用“扩展MapActivity”或者更确切地导入libary.
我尝试使用像其他线程推荐的“Android API”的“Google Api”,但问题是我的SDK Manager中没有“Google Api”可供下载或选择.
My Android SDK Manager
所以,我的“Android SDK Manager”中只有Android Apis,从“Android 1.5(API 3)”到“Android 4.0.3(API 15)”,没有“Google Api”.
以下是“Android 4.0.3(API 15)”Installing the Google APIs…中提供“Google Api”的示例
是否有可能以不同的方式下载或导入“Google Api”或者我做错了什么?
解决方法
我有一个不同的解决方案同样的问题,我
>右键单击Package Exploere中的项目并选择“Build Path-> Configure Build Path”
>选择“Java Build Path”和“Libraries”选项卡
>选择“添加外部罐子”
>导航到我的sdk /加载项/ addon-google_apis_google_inc _- / libs
>选择“maps.jar”
然后我就可以导入com.google.maps.*