I have done this code several times. But from today morning i see this problem occurs. This is a basic code to show a map layout. And showing this error to me. And also I en
Check that the variant (release/debug) that you are building is properly signed...
Right-click module => Open Module settings
Under Build Types check Signing Config
api 'com.google.android.gms:play-services-maps:16.1.0'
Above works fine for me in real world - but I don't use the emulator.
AS 3.3.2 / Plugin 3.3.2 / Gradle 4.10.2 / compileSdkVersion 28 / buildToolsVersion "28.0.3"
I also had this problem and when I changed the dependencies to implementation 'com.google.android.gms:play-services-maps:16.0.0'
the map was not loading.
So I updated Google Play Services on my emulator:
After that, I had to sign in to access the Play Store and then I could update Google Play Services.
Finally, I let the dependency as implementation 'com.google.android.gms:play-services-maps:16.1.0'
A little late, but I have been having this issue as well. Changing the dependencies as has been suggested here hasn't worked for me. What did work was actually going into chrome on the emulator and searching for Google Play Services. Click on the suggested link to the app store for it and it should take you to the Play Store in the browser. Click on the button at the bottom to open it in the app store on the emulator (because searching for it in the play store doesn't actually bring it up, you have to go through a browser), and hopefully it gives you the option to update Google Play Services. It worked perfect for me after that!
I solved this problem.
By changing app level gradle dependencies
from this
implementation 'com.google.android.gms:play-services-maps:16.1.0'
to this
implementation 'com.google.android.gms:play-services-maps:16.0.0'
Update:
Now i can use this latest gradle dependency. It works fine for me.
implementation 'com.google.android.gms:play-services-maps:16.1.0'