How to run Google Map API V2 on Android emulator

放肆的年华 提交于 2019-12-17 14:47:51

问题


I've tried to implement Google Maps v2 in my Android Application, but unfortunately instead of Maps I can see this message:

This app won't run without Google Play Services, which are missing from your phone along with button "Get Google Play Services".

Before tell me, is this possible to run Google Maps on Android emulator?


回答1:


You should use an emulator based on SDK version 4.2.2 or higher. Look here for details:

http://developer.android.com/google/play-services/setup.html

Note: Only Android 4.2.2 and higher versions of the Google APIs platform include Google Play services.




回答2:


Try Genymotion emulator....It supports location based services.




回答3:


you can select as the target api as google api.It support maps I have also tried it & it successfully running.




回答4:


You can download Genymotion emulator and test your google map api . http://www.genymotion.com/




回答5:


Yes some people suggests its possible to run Google Map in Emulator to by installing google play services.Check the below post.

https://stackoverflow.com/a/18119265/1665507



来源:https://stackoverflow.com/questions/18459338/how-to-run-google-map-api-v2-on-android-emulator

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