问题
I want to run my Google Maps Application on an Android 8 Emulator. As Google is suggesting, one should use the Google Maps Android API provided by the Google Play Services in the Version 11.
For this I put compile 'com.google.android.gms:play-services-maps:11.0.0'
in my gradle file.
When I start my emulator with android 8 its only providing google play services with version 10.9.30 and the map is not showing up.
I'm running the emulator with android studio 2.3.3 on Mac.
How can I get my Google Play Services to version 11 updated in order to use Google Maps Android API?
Thank you in advance!
回答1:
I updated my emulator with Android Studio 3.0 Preview. As you can see in the screenshot the Google Play Services is updated to version 11.0.55.
And also my grade file with compile 'com.google.android.gms:play-services-maps:11.0.0'
is working now.
Further I'm using compileSdkVersion 26
and buildToolsVersion "26.0.0"
Also see my settings for my SDK Platforms and SDK Tools:
来源:https://stackoverflow.com/questions/44499458/how-to-use-google-maps-android-api-by-google-play-services-11-on-an-emulator-wit