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

前端 未结 8 1366
执念已碎
执念已碎 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条回答
  •  -上瘾入骨i
    2021-01-01 12:35

    I faced this issue. I solved it by adding this line in app level gradle file:

    apply plugin: 'com.google.gms.google-services'
    

    (at the bottom of the file (important))

    and this line in app level dependencies section,

    compile 'com.google.android.gms:play-services-auth:11.0.4'
    

    (latest version, at the time when I am writing this answer)

    Here's the link to the documentation.

提交回复
热议问题