App is having trouble with Google Play Services. Please try again

后端 未结 4 1578
走了就别回头了
走了就别回头了 2021-01-11 12:58

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

相关标签:
4条回答
  • 2021-01-11 13:13

    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"

    0 讨论(0)
  • 2021-01-11 13:18

    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'

    0 讨论(0)
  • 2021-01-11 13:25

    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!

    0 讨论(0)
  • 2021-01-11 13:30

    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'
    
    0 讨论(0)
提交回复
热议问题