无法解析导入com.google.android.gms.gms

无法解析导入com.google.android.gms.gms,android,oauth,gmail,google-play-services,google-authentication,Android,Oauth,Gmail,Google Play Services,Google Authentication,我想在GMail的帮助下登录android应用程序。为此,我将学习本教程: 但它显示了此导入中的错误: import com.google.android.gms.gms.auth.GoogleAuthUtil; import com.google.android.gms.gms.auth.GoogleAuthException; import com.google.android.gms.gms.auth.GoogleAuthUtil; import com.google.android.g

我想在GMail的帮助下登录android应用程序。为此,我将学习本教程:

但它显示了此导入中的错误:

import com.google.android.gms.gms.auth.GoogleAuthUtil; 
import com.google.android.gms.gms.auth.GoogleAuthException;
import com.google.android.gms.gms.auth.GoogleAuthUtil;
import com.google.android.gms.gms.auth.GooglePlayServicesAvailabilityException;
import com.google.android.gms.gms.auth.UserRecoverableAuthException;
为什么在此导入语句中显示错误?它还显示了下面这段代码中的错误

Account[] accounts = mAccountManager.getAccountsByType(GoogleAuthUtil.GOOGLE_ACCOUNT_TYPE); 

你能帮我解决这些错误吗

引用谷歌播放服务?我不知道。基本上我想在GMAIL的帮助下登录android应用程序。为此,我遵循链接中给出的教程。参考google play services。android docsCan中提到的步骤,请阅读