question

martin-kukan avatar image
martin-kukan asked

GameCircle Unity, Android = CANNOT_INITIALIZE

Hi, so I'm trying to integrate GameCircle for a few days, and even the Unity example is not working. I'm really curious if this service is production ready or just some beta stuff. I tried both Android and iOS, latest SDK version, so if I deploy Unity Example Scene to Android phone I get always CANNOT_INITIALIZE, I did all the setup, api_key.txt etc, here is my log file: 02-23 21:11:05.304: INFO/PowerManagerService-JNI(186): [Stability] PowerManagerService_userActivity JNI pass power key event to PowerManagerService userActivity() 02-23 21:11:05.325: ERROR/NativeActivity(12144): channel '414feb18 com.r3mute.amazon.android.fingerslash/com.unity3d.player.UnityPlayerNativeActivity (client)' ~ Failed to receive dispatch signal. status=-11 02-23 21:11:05.365: ERROR/NativeActivity(12144): channel '414feb18 com.r3mute.amazon.android.fingerslash/com.unity3d.player.UnityPlayerNativeActivity (client)' ~ Failed to receive dispatch signal. status=-11 02-23 21:11:05.435: WARN/dalvikvm(12144): No implementation found for native Lcom/amazon/ags/jni/AGSJniHandler;.isLoaded ()V 02-23 21:11:05.435: INFO/AGSJniHandler(12144): AmazonGamesJni is not loaded, trying to load library 02-23 21:11:05.645: INFO/com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager(12144): Options bundle is null 02-23 21:11:05.645: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): getAppInfo : packageName=com.r3mute.amazon.android.fingerslash 02-23 21:11:05.645: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): Finding API Key for com.r3mute.amazon.android.fingerslash 02-23 21:11:05.645: INFO/com.amazon.identity.auth.device.utils.ThirdPartyResourceParser(12144): Attempting to parse API Key from assets directory 02-23 21:11:05.655: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): Begin decoding API Key for packageName=com.r3mute.amazon.android.fingerslash 02-23 21:11:05.785: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): num sigs = 1 02-23 21:11:05.805: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): scopes has no mapping in json, returning null array 02-23 21:11:05.805: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): perm has no mapping in json, returning null array 02-23 21:11:05.805: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): isAPIKeyValid : packageName=com.r3mute.amazon.android.fingerslash 02-23 21:11:05.815: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): getAppInfo : packageName=com.r3mute.amazon.android.fingerslash 02-23 21:11:05.815: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): Finding API Key for com.r3mute.amazon.android.fingerslash 02-23 21:11:05.815: INFO/com.amazon.identity.auth.device.utils.ThirdPartyResourceParser(12144): Attempting to parse API Key from assets directory 02-23 21:11:05.825: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): Begin decoding API Key for packageName=com.r3mute.amazon.android.fingerslash 02-23 21:11:05.885: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): num sigs = 1 02-23 21:11:05.895: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): scopes has no mapping in json, returning null array 02-23 21:11:05.895: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): perm has no mapping in json, returning null array 02-23 21:11:05.895: INFO/com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager(12144): com.r3mute.amazon.android.fingerslash calling getAppId 02-23 21:11:05.895: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): getAppInfo : packageName=com.r3mute.amazon.android.fingerslash 02-23 21:11:05.895: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): Finding API Key for com.r3mute.amazon.android.fingerslash 02-23 21:11:05.905: INFO/com.amazon.identity.auth.device.utils.ThirdPartyResourceParser(12144): Attempting to parse API Key from assets directory 02-23 21:11:05.915: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): Begin decoding API Key for packageName=com.r3mute.amazon.android.fingerslash 02-23 21:11:05.955: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): num sigs = 1 02-23 21:11:05.965: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): scopes has no mapping in json, returning null array 02-23 21:11:05.965: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): perm has no mapping in json, returning null array 02-23 21:11:05.965: INFO/GameCircleClient(12144): AmazonGamesClient not yet initialized. Initializing. 02-23 21:11:06.566: INFO/com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager(12144): Options bundle is null 02-23 21:11:06.566: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): getAppInfo : packageName=com.r3mute.amazon.android.fingerslash 02-23 21:11:06.566: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): Finding API Key for com.r3mute.amazon.android.fingerslash 02-23 21:11:06.576: INFO/com.amazon.identity.auth.device.utils.ThirdPartyResourceParser(12144): Attempting to parse API Key from assets directory 02-23 21:11:06.576: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): Begin decoding API Key for packageName=com.r3mute.amazon.android.fingerslash 02-23 21:11:06.626: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): num sigs = 1 02-23 21:11:06.636: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): scopes has no mapping in json, returning null array 02-23 21:11:06.636: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): perm has no mapping in json, returning null array 02-23 21:11:06.636: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): isAPIKeyValid : packageName=com.r3mute.amazon.android.fingerslash 02-23 21:11:06.636: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): getAppInfo : packageName=com.r3mute.amazon.android.fingerslash 02-23 21:11:06.646: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): Finding API Key for com.r3mute.amazon.android.fingerslash 02-23 21:11:06.646: INFO/com.amazon.identity.auth.device.utils.ThirdPartyResourceParser(12144): Attempting to parse API Key from assets directory 02-23 21:11:06.656: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): Begin decoding API Key for packageName=com.r3mute.amazon.android.fingerslash 02-23 21:11:06.706: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): num sigs = 1 02-23 21:11:06.716: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): scopes has no mapping in json, returning null array 02-23 21:11:06.716: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): perm has no mapping in json, returning null array 02-23 21:11:06.716: INFO/com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager(12144): com.r3mute.amazon.android.fingerslash calling getAppId 02-23 21:11:06.716: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): getAppInfo : packageName=com.r3mute.amazon.android.fingerslash 02-23 21:11:06.716: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): Finding API Key for com.r3mute.amazon.android.fingerslash 02-23 21:11:06.726: INFO/com.amazon.identity.auth.device.utils.ThirdPartyResourceParser(12144): Attempting to parse API Key from assets directory 02-23 21:11:06.726: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): Begin decoding API Key for packageName=com.r3mute.amazon.android.fingerslash 02-23 21:11:06.786: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): num sigs = 1 02-23 21:11:06.796: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): scopes has no mapping in json, returning null array 02-23 21:11:06.796: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): perm has no mapping in json, returning null array 02-23 21:11:06.836: INFO/AmazonInsightsSDK(12144): Amazon Insights SDK(2.1.16.0) initialization successfully completed 02-23 21:11:06.906: WARN/GC_Whispersync(12144): Retrieved an empty document from disk 02-23 21:11:06.906: WARN/GC_Whispersync(12144): GameDataMap - Unable to merge from an invalid/unset GameDataMap null 02-23 21:11:06.926: INFO/AmazonInsightsSDK(12144): Event: '_sess...' recorded to local filestore 02-23 21:11:06.936: INFO/AmazonInsightsSDK(12144): Attempting to retrieve variation(s) for project(s):'Universal Experiment List' 02-23 21:11:06.966: INFO/AmazonInsightsSDK(12144): Event: '_sess...' recorded to local filestore 02-23 21:11:06.976: INFO/AmazonInsightsSDK(12144): Resolved unexpired variation: 'TEST' for project: 'Universal Experiment List' from cache 02-23 21:11:07.006: INFO/AmazonInsightsSDK(12144): Attempting to retrieve variation(s) for project(s):'ManifestSrc','InitSigninAlertTest' 02-23 21:11:07.056: INFO/AmazonInsightsSDK(12144): Event: 'WHISP...' recorded to local filestore 02-23 21:11:07.066: INFO/AmazonInsightsSDK(12144): Resolved unexpired variation: 'CONTROL' for project: 'ManifestSrc' from cache 02-23 21:11:07.076: INFO/AmazonInsightsSDK(12144): Resolved unexpired variation: 'TEST' for project: 'InitSigninAlertTest' from cache 02-23 21:11:07.266: INFO/com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager(12144): Options bundle is null 02-23 21:11:07.266: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): getAppInfo : packageName=com.r3mute.amazon.android.fingerslash 02-23 21:11:07.266: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): Finding API Key for com.r3mute.amazon.android.fingerslash 02-23 21:11:07.276: INFO/com.amazon.identity.auth.device.utils.ThirdPartyResourceParser(12144): Attempting to parse API Key from assets directory 02-23 21:11:07.276: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): Begin decoding API Key for packageName=com.r3mute.amazon.android.fingerslash 02-23 21:11:07.346: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): num sigs = 1 02-23 21:11:07.356: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): scopes has no mapping in json, returning null array 02-23 21:11:07.366: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): perm has no mapping in json, returning null array 02-23 21:11:07.397: INFO/dalvikvm(12144): Total arena pages for JIT: 11 02-23 21:11:07.427: INFO/dalvikvm(12144): Total arena pages for JIT: 12 02-23 21:11:07.427: INFO/dalvikvm(12144): Total arena pages for JIT: 13 02-23 21:11:07.447: INFO/dalvikvm(12144): Total arena pages for JIT: 14 02-23 21:11:07.447: INFO/dalvikvm(12144): Total arena pages for JIT: 15 02-23 21:11:07.457: INFO/dalvikvm(12144): Total arena pages for JIT: 16 02-23 21:11:07.467: INFO/dalvikvm(12144): Total arena pages for JIT: 17 02-23 21:11:08.057: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): isAPIKeyValid : packageName=com.r3mute.amazon.android.fingerslash 02-23 21:11:08.057: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): getAppInfo : packageName=com.r3mute.amazon.android.fingerslash 02-23 21:11:08.057: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): Finding API Key for com.r3mute.amazon.android.fingerslash 02-23 21:11:08.067: INFO/com.amazon.identity.auth.device.utils.ThirdPartyResourceParser(12144): Attempting to parse API Key from assets directory 02-23 21:11:08.097: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): Begin decoding API Key for packageName=com.r3mute.amazon.android.fingerslash 02-23 21:11:08.117: INFO/global(12144): In close() at SocketHttpClientConnection 02-23 21:11:08.177: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): num sigs = 1 02-23 21:11:08.207: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): scopes has no mapping in json, returning null array 02-23 21:11:08.207: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): perm has no mapping in json, returning null array 02-23 21:11:08.207: INFO/com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager(12144): com.r3mute.amazon.android.fingerslash calling getAppId 02-23 21:11:08.217: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): getAppInfo : packageName=com.r3mute.amazon.android.fingerslash 02-23 21:11:08.217: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): Finding API Key for com.r3mute.amazon.android.fingerslash 02-23 21:11:08.217: INFO/com.amazon.identity.auth.device.utils.ThirdPartyResourceParser(12144): Attempting to parse API Key from assets directory 02-23 21:11:08.227: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): Begin decoding API Key for packageName=com.r3mute.amazon.android.fingerslash 02-23 21:11:08.317: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): num sigs = 1 02-23 21:11:08.337: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): scopes has no mapping in json, returning null array 02-23 21:11:08.337: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): perm has no mapping in json, returning null array 02-23 21:11:08.337: INFO/global(12144): call createSocket() return a new socket. 02-23 21:11:08.598: ERROR/libEGL(12144): call to OpenGL ES API with no current context (logged once per thread) 02-23 21:11:09.539: INFO/AmazonInsightsSDK(12144): Successful submission of 13 events 02-23 21:11:09.569: INFO/AmazonInsightsSDK(12144): Event: '_http...' recorded to local filestore 02-23 21:11:18.437: WARN/GC_AsynchronousReplyMessenger(12144): Request 6c8c7c81-4fcb-48e4-883a-6b87a8c9396f timed out. 02-23 21:11:18.477: INFO/AmazonInsightsSDK(12144): Event: 'GameC...' recorded to local filestore 02-23 21:11:18.487: INFO/Unity(12144): AmazonGameCircle: GameCircleManager - serviceNotReady (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 53) 02-23 21:11:18.487: INFO/dalvikvm(12144): Total arena pages for JIT: 18 02-23 21:11:28.447: WARN/GC_AsynchronousReplyMessenger(12144): Request fa070de4-5c9f-4f09-bd82-ce5166a83d00 timed out. 02-23 21:11:31.890: INFO/ActivityManager(186): Start proc android.process.acore for content provider com.android.providers.contacts/.HtcContactsProvider2: pid=12198 uid=10017 gids={3003, 1015} 02-23 21:11:32.101: INFO/ActivityThread(12198): Pub contacts;com.android.contacts: com.android.providers.contacts.HtcContactsProvider2 02-23 21:11:32.741: INFO/ActivityThread(12198): Pub call_log: com.android.providers.contacts.CallLogProvider 02-23 21:11:32.841: INFO/ActivityThread(12198): Pub com.android.voicemail: com.android.providers.contacts.VoicemailContentProvider 02-23 21:11:32.841: INFO/ActivityThread(12198): Pub user_dictionary: com.android.providers.userdictionary.UserDictionaryProvider 02-23 21:11:32.891: INFO/ActivityThread(12198): Pub com.android.social: com.android.providers.contacts.SocialProvider 02-23 21:11:32.901: INFO/ActivityThread(12198): Pub applications: com.android.providers.applications.ApplicationsProvider 02-23 21:11:52.511: INFO/HtcPowerSaver(186): >> updateStatus 02-23 21:11:52.511: INFO/HtcPowerSaver(186): currentStatus=8000, currentLevel=100, enableLevel=20, enable=false, popDialog=false, statusChangeTo=-1 02-23 21:11:52.511: INFO/HtcPowerSaver(186): << updateStatus 02-23 21:11:54.983: WARN/GC_AsynchronousReplyMessenger(12144): No pending message found for message id fa070de4-5c9f-4f09-bd82-ce5166a83d00 02-23 21:11:55.223: INFO/global(12144): In close() at SocketHttpClientConnection 02-23 21:11:55.554: INFO/global(12144): call createSocket() return a new socket. 02-23 21:11:56.534: WARN/GC_NetworkCallFactory(12144): Network request ID for failed request: bda7df41-9cc6-11e3-9829-c38bbce61af5 02-23 21:11:56.544: ERROR/GC_NetworkCallFactory(12144): Exception encountered while executing request: com.amazon.ags.AGSServiceException: Bad Request com.amazon.ags.AGSServiceException: Bad Request at com.amazon.ags.html5.comm.NetworkCallFactory.createRequestResult(NetworkCallFactory.java:232) at com.amazon.ags.html5.comm.NetworkCallFactory.handleServiceRequest(NetworkCallFactory.java:149) at com.amazon.ags.html5.comm.NetworkCallFactory.handleMessage(NetworkCallFactory.java:114) at com.amazon.ags.html5.javascript.CallHandlerBase.handleMessage(CallHandlerBase.java:61) at com.amazon.ags.html5.javascript.domain.JavascriptInterface$8.run(JavascriptInterface.java:235) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569) at java.lang.Thread.run(Thread.java:864) 02-23 21:11:56.564: INFO/AmazonInsightsSDK(12144): Event: 'GameC...' recorded to local filestore 02-23 21:11:57.065: INFO/global(12144): In close() at SocketHttpClientConnection 02-23 21:11:57.135: INFO/global(12144): call createSocket() return a new socket. 02-23 21:11:57.225: INFO/global(12144): In close() at SocketHttpClientConnection 02-23 21:11:57.245: INFO/global(12144): call createSocket() return a new socket. 02-23 21:11:58.026: INFO/com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager(12144): com.r3mute.amazon.android.fingerslash calling getToken : scopes=[game_circle:game_data] 02-23 21:11:58.056: ERROR/com.amazon.identity.auth.device.thread.MAPCallbackFuture(12144): Running get on Future with timeout=10000unit=MILLISECONDS 02-23 21:11:58.056: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): isAPIKeyValid : packageName=com.r3mute.amazon.android.fingerslash 02-23 21:11:58.066: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): getAppInfo : packageName=com.r3mute.amazon.android.fingerslash 02-23 21:11:58.066: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): Finding API Key for com.r3mute.amazon.android.fingerslash 02-23 21:11:58.066: INFO/com.amazon.identity.auth.device.utils.ThirdPartyResourceParser(12144): Attempting to parse API Key from assets directory 02-23 21:11:58.066: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): Begin decoding API Key for packageName=com.r3mute.amazon.android.fingerslash 02-23 21:11:58.156: INFO/AmazonInsightsSDK(12144): Event: 'GameC...' recorded to local filestore 02-23 21:11:58.166: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): num sigs = 1 02-23 21:11:58.186: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): scopes has no mapping in json, returning null array 02-23 21:11:58.186: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): perm has no mapping in json, returning null array 02-23 21:11:58.206: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): getAppInfo : packageName=com.r3mute.amazon.android.fingerslash 02-23 21:11:58.206: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): Finding API Key for com.r3mute.amazon.android.fingerslash 02-23 21:11:58.216: INFO/com.amazon.identity.auth.device.utils.ThirdPartyResourceParser(12144): Attempting to parse API Key from assets directory 02-23 21:11:58.226: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): Begin decoding API Key for packageName=com.r3mute.amazon.android.fingerslash 02-23 21:11:58.286: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): num sigs = 1 02-23 21:11:58.306: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): scopes has no mapping in json, returning null array 02-23 21:11:58.306: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): perm has no mapping in json, returning null array 02-23 21:11:58.396: WARN/com.amazon.identity.auth.device.endpoint.TokenVendor(12144): RequestedScope shouldn't be null!!!! - null, but continuing anyway... 02-23 21:11:58.396: INFO/com.amazon.identity.auth.device.endpoint.TokenVendor(12144): Try finding a common access token for requested scopes 02-23 21:11:58.426: INFO/com.amazon.identity.auth.device.endpoint.TokenVendor(12144): Try finding a common refresh token for requested scopes 02-23 21:11:58.436: INFO/com.amazon.identity.auth.device.authorization.ThirdPartyServiceHelper(12144): Inside getRemoteAndroidService AsyncTask - Attempting remote service 02-23 21:11:58.466: INFO/com.amazon.identity.auth.device.authorization.ThirdPartyServiceHelper(12144): Number of services found : 0 02-23 21:11:58.466: INFO/com.amazon.identity.auth.device.authorization.ThirdPartyServiceHelper(12144): Number of MAP services to compare = 0 02-23 21:11:58.466: INFO/com.amazon.identity.auth.device.authorization.ThirdPartyServiceHelper(12144): Returning no service to use 02-23 21:11:58.466: INFO/com.amazon.identity.auth.device.authorization.ThirdPartyServiceHelper(12144): Unbinding Highest Versioned Service 02-23 21:12:00.238: ERROR/GC_WebViewFactory(12144): JS(line 2): Uncaught TypeError: Cannot read property 'achievements' of null 02-23 21:12:01.249: INFO/AmazonInsightsSDK(12144): Event: 'GameC...' recorded to local filestore 02-23 21:12:02.140: INFO/com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager(12144): com.r3mute.amazon.android.fingerslash calling getToken : scopes=[game_circle:game_data] 02-23 21:12:02.140: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): isAPIKeyValid : packageName=com.r3mute.amazon.android.fingerslash 02-23 21:12:02.140: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): getAppInfo : packageName=com.r3mute.amazon.android.fingerslash 02-23 21:12:02.140: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): Finding API Key for com.r3mute.amazon.android.fingerslash 02-23 21:12:02.150: ERROR/com.amazon.identity.auth.device.thread.MAPCallbackFuture(12144): Running get on Future with timeout=10000unit=MILLISECONDS 02-23 21:12:02.150: INFO/com.amazon.identity.auth.device.utils.ThirdPartyResourceParser(12144): Attempting to parse API Key from assets directory 02-23 21:12:02.160: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): Begin decoding API Key for packageName=com.r3mute.amazon.android.fingerslash 02-23 21:12:02.200: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): num sigs = 1 02-23 21:12:02.200: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): scopes has no mapping in json, returning null array 02-23 21:12:02.210: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): perm has no mapping in json, returning null array 02-23 21:12:02.220: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): getAppInfo : packageName=com.r3mute.amazon.android.fingerslash 02-23 21:12:02.220: INFO/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(12144): Finding API Key for com.r3mute.amazon.android.fingerslash 02-23 21:12:02.220: INFO/com.amazon.identity.auth.device.utils.ThirdPartyResourceParser(12144): Attempting to parse API Key from assets directory 02-23 21:12:02.230: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): Begin decoding API Key for packageName=com.r3mute.amazon.android.fingerslash 02-23 21:12:02.260: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): num sigs = 1 02-23 21:12:02.270: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): scopes has no mapping in json, returning null array 02-23 21:12:02.270: INFO/com.amazon.identity.auth.device.appid.APIKeyDecoder(12144): perm has no mapping in json, returning null array 02-23 21:12:02.280: WARN/com.amazon.identity.auth.device.endpoint.TokenVendor(12144): RequestedScope shouldn't be null!!!! - null, but continuing anyway... 02-23 21:12:02.280: INFO/com.amazon.identity.auth.device.endpoint.TokenVendor(12144): Try finding a common access token for requested scopes 02-23 21:12:02.300: INFO/com.amazon.identity.auth.device.endpoint.TokenVendor(12144): Try finding a common refresh token for requested scopes 02-23 21:12:02.300: INFO/com.amazon.identity.auth.device.authorization.ThirdPartyServiceHelper(12144): Inside getRemoteAndroidService AsyncTask - Attempting remote service 02-23 21:12:02.310: INFO/com.amazon.identity.auth.device.authorization.ThirdPartyServiceHelper(12144): Number of services found : 0 02-23 21:12:02.310: INFO/com.amazon.identity.auth.device.authorization.ThirdPartyServiceHelper(12144): Number of MAP services to compare = 0 02-23 21:12:02.310: INFO/com.amazon.identity.auth.device.authorization.ThirdPartyServiceHelper(12144): Returning no service to use 02-23 21:12:02.310: INFO/com.amazon.identity.auth.device.authorization.ThirdPartyServiceHelper(12144): Unbinding Highest Versioned Service 02-23 21:12:04.422: ERROR/GC_WebViewFactory(12144): JS(line 16): Uncaught TypeError: Cannot read property 'length' of null 02-23 21:12:12.370: INFO/AmazonInsightsSDK(12144): Event: 'PageV...' recorded to local filestore 02-23 21:12:13.261: INFO/Adreno200-EGLSUB(98): : Android Image 02-23 21:12:13.261: INFO/Adreno200-EGLSUB(98): : RGBA_8888 02-23 21:12:13.321: INFO/Adreno200-EGLSUB(98): : Android Image 02-23 21:12:13.321: INFO/Adreno200-EGLSUB(98): : RGBA_8888 02-23 21:12:18.065: WARN/GC_AsynchronousReplyMessenger(12144): Request 79e0e5f2-acf9-46dd-966d-9ddaaf505768 timed out. 02-23 21:12:18.826: INFO/Adreno200-EGLSUB(98): : Android Image 02-23 21:12:18.826: INFO/Adreno200-EGLSUB(98): : RGBA_8888 02-23 21:12:22.500: WARN/CallNotifier(413): bindDialerService
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Martin, Thank you for writing to us. When testing your GameCircle integration, if CANNOT_INITIALIZE AmazonGamesStatus is returned to your callback function by initialize(), you may not have correctly registered the package name and signature of the game build. Please review the steps mentioned below 2 steps for creating a security profile and associating an api key with it. https://developer.amazon.com/public/apis/engage/gamecircle/docs/get-set-up-for-gamecircle#Create%20a%20Security%20Profile https://developer.amazon.com/public/apis/engage/gamecircle/docs/create-a-gamecircle-configuration#Step%202:%20Generate%20API%20Keys There is an article on CANNOT_INITIALIZE error in our blog: https://developer.amazon.com/post/Tx1W2W735R6O17B/GameCircle-CANNOT-AUTHORIZE-Exception.html
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

azerbojb avatar image
azerbojb answered
I have the same error, CANNOT_INITIALIZE. I check the blog's article that talk about a command: keytool -exportcert -alias alias_name -keystore keystore_file | openssl sha1 -binary | openssl base64 and says to register it into gamecenter portal but i don't see anything that request it.. Is this article obsolete? I did the thing with : keytool -list -v -keystore full_path_to_your_keystore_file -alias alias_name and get the MD5 signature to create my API key. So what's wrong? (I have already submitted some apps on the Amazon store without problem)
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

azerbojb avatar image
azerbojb answered
Double post because i can't edit my own post.. Just an information, my services was ready one time, but the other times CANNOT_INITIALIZE and my player is logged in at the start all the time... very weird behaviour Message was edited by: azerbojb
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Bipin@Amazon avatar image
Bipin@Amazon answered
The SDK failed to initialize correctly. reasons are: 1)apiKeyExists is false (There is no api key in assests folder) 2)apiKey placed in the assests folder donot match with the content manager in server 3)initialized session has error , you should reinitialize
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.