Cannot resolve symbol 'Auth' for google integration in android studio

前端 未结 8 1368
执念已碎
执念已碎 2021-01-01 12:01

i am new in androidstudio. i have done integration of google in eclipse but am having issues in studio. i am following step by step from this site : https://developers.googl

相关标签:
8条回答
  • 2021-01-01 12:38

    Try moving apply plugin: 'com.google.gms.google-services' from dependencies to top of your gradle file, just under apply plugin: 'com.android.application'.

    EDIT:

    Make sure that you have installed the Extras/Google Repository from the SDK Manager and added the compile 'com.google.android.gms:play-services:8.3.0' into your dependency scope.

    0 讨论(0)
  • 2021-01-01 12:42

    Add this in dependency block in your app gradle

    implementation 'com.google.android.gms:play-services-auth:16.0.0'
    
    0 讨论(0)
提交回复
热议问题