Android Studio - GoogleAuthUtil cannot be resolved

大兔子大兔子 提交于 2019-12-05 10:02:43

This is a dup of a few other questions however:

Assure you have followed the documentation, make sure you have installed the Extras/Google Repository from the SDK Manager and added the following dependency to your <project>/<modulename>/build.gradle file (not the root .gradle file):

dependencies {
    compile 'com.google.android.gms:play-services-auth:16.0.+'
 }

Next sync your project and Gradle files using

then rebuild your project.

You need to add play services auth to your build.gradle's dependencies like this: com.google.android.gms:play-services-auth:10.2.0

See more here: https://developers.google.com/android/guides/setup

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!