Google maps do not work on the emulator

Sorry, my bad english.

I have a problem with google maps.

I created a program from Android Studio, selecting "Google Maps Activity" in the process of creating a new project, program, connecting a real phone to the WORKS computer using the me emulator. It looks like this:

"My application 90 will not work without the Google Play services that are not available on your phone."

With a button that says “Get Google Play Services”

If I click on the "Get Google Play Services" button, the program will crash. How to control the emulator even?

Tell me if I explained well.

+4
source share
2 answers

You must use a Google API emulator.

In the SDK Manager, install a system image that supports the Google API API (for example, the one selected in the screenshot below).

SDK Manager

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

AVD selection

+9
source

Create an emulator with a Google Api map when creating a virtual device. Download google apis from the SDK manager.

+2
source

Source: https://habr.com/ru/post/1624595/


All Articles