发布应用程序

时间:2017-02-18 11:31:42

标签: android google-play-services google-play-games

我开发了一个应用程序,其中我使用了Google Play Games API。 当我测试它时,一切似乎都很好,但是自从我发布了我的应用程序后,它停止了工作。

我知道我应该将我的应用链接到API。我在StackExchange上遵循了许多答案,它仍然无效。

我的情况如下:我将发布版本上传到Google Play开发者控制台,我将我的应用添加到Google Play开发者控制台中的Google Play游戏部分。它的结果是在Google Play API控制台中自动创建了客户端ID。此外,我确保启用了游戏库。

所以理论上它必须起作用,但它不会:)

请帮帮我..

SCREENSHOT Google Play Games Developer Console

SCREENSHOT Google Play Developer API Console

日志似乎没有显示任何相关信息..但在这里它们是:

02-18 13:15:31.562 1165-1437/? I/PlayCommon: [93] com.google.android.play.a.g.a(1049): Connecting to server: https:// play.googleapis.com/play/log?format=raw&proto_v2=true
02-18 13:26:57.199 550-579/? I/Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: QUALCOMM Build: 01/15/15, ab0075f, Id3510ff6dc
02-18 13:28:42.017 550-579/? E/libEGL: call to OpenGL ES API with no current context (logged once per thread)
02-18 13:28:49.979 1165-1165/? E/Finsky: [1] com.google.android.finsky.wear.bl.a(847): onConnectionFailed: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null, message=null}
02-18 13:28:52.304 1165-1437/? I/PlayCommon: [93] com.google.android.play.a.g.a(1049): Connecting to server: https:// play.googleapis.com/play/log?format=raw&proto_v2=true
02-18 13:28:52.777 1165-1165/? I/PlayCommon: [1] com.google.android.play.dfe.api.b.a(20553): Not delivering second response for request=[[ ] https : //android.clients.google.com/fdfe/api/userProfile 0xe8d195d1 NORMAL 63]
02-18 13:28:52.809 1165-1165/? I/Finsky: [1] com.google.android.finsky.api.a.i.a(50039): Not delivering second response for request=[[ ] https:// android.clients.google.com/fdfe/details?doc=com.vladislavzhabinsky.fiveinarow 0xe8d195d1 NORMAL 65]
02-18 13:29:12.255 1165-1165/? E/Finsky: [1] com.google.android.finsky.wear.bl.a(847): onConnectionFailed: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null, message=null}
02-18 13:29:18.484 8986-8986/? I/Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: QUALCOMM Build: 01/15/15, ab0075f, Id3510ff6dc
02-18 13:29:19.347 8986-9062/? I/Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: QUALCOMM Build: 01/15/15, ab0075f, Id3510ff6dc
02-18 13:29:19.440 8986-9011/? W/Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
02-18 13:29:19.440 8986-9011/? W/Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
02-18 13:29:20.285 9093-9113/? I/Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: QUALCOMM Build: 01/15/15, ab0075f, Id3510ff6dc

1 个答案:

答案 0 :(得分:0)

基于文档 - API_UNAVAILABLE

  

您尝试连接的其中一个API组件不可用。该API不适用于此设备或您的应用或此特定帐户,更新Google Play服务无法解决问题。

您可能还想检查自己是否已正确设置了所有设置,请检查certificate and keystore是否适用于此forum中所述的发布版本,以及API是否已启用。

希望这有帮助。

相关问题