How to include the GoogleMaps.apk file while extending MapActivity

China☆狼群 提交于 2019-12-24 15:11:32

问题


I need a help, In my eclipse, I have extended MapActivity to display google maps. Now if i run my program, there exists an error that

[2011-08-27 18:47:42 - GoogleMaps] Could not find GoogleMaps.apk!

and i dont have any other errors in program. How to overcome this Bug?


回答1:


Are you using the Android n.n Platform library? I think you need the Android n.n Google APIs library.

It can be downloaded via the Android SDK and AVD Manager.




回答2:


If the app is run on a device that does not come with the Google Maps app, then there is nothing you can do. It is owned by Google, and if the device does not come with it you cannot provide it yourself.



来源:https://stackoverflow.com/questions/7215028/how-to-include-the-googlemaps-apk-file-while-extending-mapactivity

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!