编译错误:
Error:(xx, xx) error: package com.google.android.gms.auth does not exist
Error:(xx, xx) error: cannot find symbol variable GoogleAuthUtil
编译错误:
Error:(xx, xx) error: package com.google.android.gms.auth does not exist
Error:(xx, xx) error: cannot find symbol variable GoogleAuthUtil
GoogleAuthUtil已经迁移到Google Play服务9.0+ SDK中的-auth SDK分离版本。
如果您需要在Android上访问REST API,请将-auth拆分包含在您的build.gradle文件中:
compile 'com.google.android.gms:play-services-auth:9.0.0'
否则,我们建议将您的应用迁移到Google Sign-In API,以将最新的安全性和用户体验改进功能纳入您的应用程序中。