android - getToken() 失败。状态 BAD_AUTHENTICATION 错误

标签 android google-play-services

我在 android studio 中运行我的 android 应用程序时发现了以下错误。由于此错误,应用程序无法安装在我的设备上。没有找到解决方案:( 请帮忙

Auth: [GoogleAccountDataServiceImpl] getToken() failed. Status BAD_AUTHENTICATION, Account: , App:com.android.vending, Service: androidmarket com.google.android.gms.auth.be.account.b.d: Long live credential not available.

最佳答案

我遇到了同样的问题,但对我有帮助的是我的 google-services.json 文件中的凭据有误,在获取新文件后,我的问题得到了解决。

在解决此问题的过程中,我还更新了我的 google play 服务,但我认为这没有必要。

关于android - getToken() 失败。状态 BAD_AUTHENTICATION 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35967017/

相关文章:

java - java中的对象堆总是没有足够的空间

android - 如何从 fragment 中获取 getArguments 数据?

android - 单击返回后更新 SharedPreferences

android - Unity 游戏的 GooglePlayServices 登录失败

android - 使用 Neura sdk 时在 onActivityResult 上未收到 accessToken 和 RESULT_OK

java - 为什么 Color.colorToHSV 和 HSVToColor 不准确?

android - Material Design 与 Android 5.0 以下版本的兼容性?

java - 如何修复 java.util.zip.ZipException : duplicate entry: com/google/firebase/FirebaseApiNotAvailableException. 类?

android - 哪个 com.google.android.gms :play-services-ads version is compatible with com. android.support :appcompat-v7:27. 1.1?

带有 Firebase 的 Android Studio 2.1.2 不工作