Google Maps do not work on emulator [duplicate]

放肆的年华 提交于 2019-12-12 08:39:39

问题


Sorry my bad english.

I have a problem with Google Maps.

I did create a program from the Android Studio by selecting "Google Maps Activity" in the process of creating a new project, the program by connecting a real phone to the computer WORKS, using emulator me It appears written:

"My Application 90 will not run without Google Play services, Which are missing from your phone."

With under a button that read: "Get Google Play services"

If I click on the button "Get Google Play services" program collapses. How do i operate the program even emulator?

Tell me if I explained well.


回答1:


You should use emulator with Google API support.

In SDK Manager install system image with Google APIs support (for example, the selected one at screenshot below).

Then when you create Android virtual device select this system image:




回答2:


Create an emulator with Google map Api while you creating Virtual device. Download google apis from SDK manager.



来源:https://stackoverflow.com/questions/34829057/google-maps-do-not-work-on-emulator

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