Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Maps do not work on emulator [duplicate]

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.

like image 418
user3106572 Avatar asked Jan 16 '16 16:01

user3106572


2 Answers

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).

SDK manager

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

AVD selection

like image 138
mixel Avatar answered Oct 09 '22 21:10

mixel


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

like image 2
Krishna Avatar answered Oct 09 '22 22:10

Krishna