2017-02-18 132 views
1

我开发了一款使用Google Play游戏API的应用程序。 当我测试一切似乎很好,但自从我发布我的应用程序,它停止工作。在发布应用程序时无法访问Google Play游戏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 

回答

0

基于文档 - API_UNAVAILABLE

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

您可能还需要检查你已正确设置所有设置,检查certificate and keystore如果他们是你的发布版本在这个forum如果API启用还指出。

希望这会有所帮助。

相关问题