我使用BaseGameActivity
類連接到Google Play遊戲服務遊戲服務。問題是,以某種方式驗證不起作用。我在網上搜索了幾個小時的解決方案,但沒有找到任何有助於我解決問題的方法。應用程序配置不正確使用谷歌玩
當我開始BaseGameActivity我得到的logcat的輸出如下:
03-19 14:22:36.126: W/GameHelper(15312): ****
03-19 14:22:36.126: W/GameHelper(15312): ****
03-19 14:22:36.126: W/GameHelper(15312): **** APP NOT CORRECTLY CONFIGURED TO USE GOOGLE PLAY GAME SERVICES
03-19 14:22:36.126: W/GameHelper(15312): **** This is usually caused by one of these reasons:
03-19 14:22:36.126: W/GameHelper(15312): **** (1) Your package name and certificate fingerprint do not match
03-19 14:22:36.126: W/GameHelper(15312): **** the client ID you registered in Developer Console.
03-19 14:22:36.126: W/GameHelper(15312): **** (2) Your App ID was incorrectly entered.
03-19 14:22:36.126: W/GameHelper(15312): **** (3) Your game settings have not been published and you are
03-19 14:22:36.126: W/GameHelper(15312): **** trying to log in with an account that is not listed as
03-19 14:22:36.126: W/GameHelper(15312): **** a test account.
03-19 14:22:36.126: W/GameHelper(15312): ****
03-19 14:22:36.126: W/GameHelper(15312): **** To help you debug, here is the information about this app
03-19 14:22:36.126: W/GameHelper(15312): **** Package name : *****
03-19 14:22:36.126: W/GameHelper(15312): **** Cert SHA1 fingerprint: *****
03-19 14:22:36.126: W/GameHelper(15312): **** App ID from : *****
03-19 14:22:36.126: W/GameHelper(15312): ****
03-19 14:22:36.126: W/GameHelper(15312): **** Check that the above information matches your setup in
03-19 14:22:36.126: W/GameHelper(15312): **** Developer Console. Also, check that you're logging in with the
03-19 14:22:36.126: W/GameHelper(15312): **** right account (it should be listed in the Testers section if
03-19 14:22:36.126: W/GameHelper(15312): **** your project is not yet published).
03-19 14:22:36.126: W/GameHelper(15312): ****
03-19 14:22:36.126: W/GameHelper(15312): **** For more information, refer to the troubleshooting guide:
03-19 14:22:36.126: W/GameHelper(15312): **** http://developers.google.com/games/services/android/troubleshooting
我查了十倍以上的包名稱,證書SHA1指紋和App ID(這是我出演這裏)真的是同樣在https://console.developers.google.com/project/my-app-id/apiui/credential
給那些我還刪除了給有幾十倍的客戶端ID並重新創建它們。但沒有任何幫助。你可以幫我嗎?
您是使用調試密鑰(默認值)簽署應用程序還是使用生產密鑰進行導出? – 323go
我嘗試了這兩種方法,並在開發人員控制檯中爲這兩個密鑰客戶端ID創建。 –