How to update Google Play Services on the emulator in Android Studio

前端 未结 4 799
鱼传尺愫
鱼传尺愫 2020-12-28 09:14

Hi I am trying to run an Android Program I have created that can connect to Firebase with Authentication using email and password but it seems that I cannot even authenticat

4条回答
  •  盖世英雄少女心
    2020-12-28 09:29

    I was facing same issue, but i downgrade my play services version in build.gradle.

    1. settings->apps->Google Play Services application check image
    2. my google play services version is 10.2.98, that's why we need google-play-services(in module level build.gradle) version lower than our emulator's library version.
    3. set the lower version from here, we can see 10.2.6 is better and set it in build.gradle like this compile 'com.google.android.gms:play-services-places:10.2.6' and just simple, run app again.

提交回复
热议问题