question

Kindle ������ avatar image
Kindle ������ asked

Error while initiating game circle

Hi, i've already integrate game circle, it works before, but currently i'm launching an upgrade to my app, the code was nearly not changing anything about game circle initiating code, but it doesn't work now, i'm very confused, below is the logs 01-12 00:34:35.991: D/com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager.PII(21115): AmazonAuthorizationManager:sdkVer=1.0.0 libVer=3.3.0: 01-12 00:34:35.991: I/com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager(21115): Options bundle is null 01-12 00:34:35.991: I/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(21115): getAppInfo : packageName=le.lenovo.sudoku 01-12 00:34:35.991: I/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(21115): Finding API Key for le.lenovo.sudoku 01-12 00:34:35.991: I/com.amazon.identity.auth.device.utils.ThirdPartyResourceParser(21115): Attempting to parse API Key from assets directory 01-12 00:34:35.991: I/com.amazon.identity.auth.device.appid.APIKeyDecoder(21115): Begin decoding API Key for packageName=le.lenovo.sudoku 01-12 00:34:36.001: D/com.amazon.identity.auth.device.appid.APIKeyDecoder.PII(21115): APIKey: 01-12 00:34:36.001: I/com.amazon.identity.auth.device.appid.APIKeyDecoder(21115): num sigs = 1 01-12 00:34:36.001: D/com.amazon.identity.auth.device.appid.APIKeyDecoder.PII(21115): Signature checking.: 01-12 00:34:36.001: D/com.amazon.identity.auth.device.appid.APIKeyDecoder.PII(21115): Fingerpirint checking: 01-12 00:34:36.001: I/com.amazon.identity.auth.device.appid.APIKeyDecoder(21115): scopes has no mapping in json, returning null array 01-12 00:34:36.001: I/com.amazon.identity.auth.device.appid.APIKeyDecoder(21115): perm has no mapping in json, returning null array 01-12 00:34:36.011: D/webcoreglue(21115): netstack: Memory Cache feature is ON 01-12 00:34:36.021: D/JSENGINE(21115): qualcomm.jsengine.version:C.2-patch47-git:ad72bcf 01-12 00:34:36.031: I/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(21115): isAPIKeyValid : packageName=le.lenovo.sudoku 01-12 00:34:36.031: I/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(21115): getAppInfo : packageName=le.lenovo.sudoku 01-12 00:34:36.031: I/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(21115): Finding API Key for le.lenovo.sudoku 01-12 00:34:36.031: I/com.amazon.identity.auth.device.utils.ThirdPartyResourceParser(21115): Attempting to parse API Key from assets directory 01-12 00:34:36.031: I/com.amazon.identity.auth.device.appid.APIKeyDecoder(21115): Begin decoding API Key for packageName=le.lenovo.sudoku 01-12 00:34:36.031: D/com.amazon.identity.auth.device.appid.APIKeyDecoder.PII(21115): APIKey: 01-12 00:34:36.031: I/com.amazon.identity.auth.device.appid.APIKeyDecoder(21115): num sigs = 1 01-12 00:34:36.031: D/com.amazon.identity.auth.device.appid.APIKeyDecoder.PII(21115): Signature checking.: 01-12 00:34:36.031: D/com.amazon.identity.auth.device.appid.APIKeyDecoder.PII(21115): Fingerpirint checking: 01-12 00:34:36.031: I/com.amazon.identity.auth.device.appid.APIKeyDecoder(21115): scopes has no mapping in json, returning null array 01-12 00:34:36.031: I/com.amazon.identity.auth.device.appid.APIKeyDecoder(21115): perm has no mapping in json, returning null array 01-12 00:34:36.031: I/com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager(21115): le.lenovo.sudoku calling getAppId 01-12 00:34:36.031: I/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(21115): getAppInfo : packageName=le.lenovo.sudoku 01-12 00:34:36.031: I/com.amazon.identity.auth.device.appid.AbstractAppIdentifier(21115): Finding API Key for le.lenovo.sudoku 01-12 00:34:36.031: I/com.amazon.identity.auth.device.utils.ThirdPartyResourceParser(21115): Attempting to parse API Key from assets directory 01-12 00:34:36.031: I/com.amazon.identity.auth.device.appid.APIKeyDecoder(21115): Begin decoding API Key for packageName=le.lenovo.sudoku 01-12 00:34:36.041: D/com.amazon.identity.auth.device.appid.APIKeyDecoder.PII(21115): APIKey: 01-12 00:34:36.041: I/com.amazon.identity.auth.device.appid.APIKeyDecoder(21115): num sigs = 1 01-12 00:34:36.041: D/com.amazon.identity.auth.device.appid.APIKeyDecoder.PII(21115): Signature checking.: 01-12 00:34:36.041: D/com.amazon.identity.auth.device.appid.APIKeyDecoder.PII(21115): Fingerpirint checking: 01-12 00:34:36.041: I/com.amazon.identity.auth.device.appid.APIKeyDecoder(21115): scopes has no mapping in json, returning null array 01-12 00:34:36.041: I/com.amazon.identity.auth.device.appid.APIKeyDecoder(21115): perm has no mapping in json, returning null array 01-12 00:34:36.041: D/KindleFireIPCProxy(21115): Device appears to be a Kindle Fire. Attempting to connect to Amazon Game Services 01-12 00:34:36.041: D/HostStatisticManager(21115): netstack: DNS Host Prioritization is: ON, Version: 5.0.2 01-12 00:34:36.041: I/(21115): netstack: LIB_MGR - Lib loaded: libdnshostprio.so 01-12 00:34:36.041: I/(21115): netstack: STAT_HUB - Succeeded to load plugin: libdnshostprio.so 01-12 00:34:36.041: I/(21115): netstack: LIB_MGR - Lib loaded: spl_proc_plugin.so 01-12 00:34:36.041: I/(21115): netstack: STAT_HUB - Succeeded to load plugin: spl_proc_plugin.so 01-12 00:34:36.041: I/(21115): netstack: LIB_MGR - Lib loaded: pp_proc_plugin.so 01-12 00:34:36.041: I/(21115): netstack: STAT_HUB - Succeeded to load plugin: pp_proc_plugin.so 01-12 00:34:36.041: E/(21115): netstack: STAT_HUB - App le.lenovo.sudoku isn't supported 01-12 00:34:36.051: D/KindleFireIPCProxy(21115): binding result:true 01-12 00:34:36.051: V/chromium(21115): external/chromium/net/host_resolver_helper/ host_resolver_helper.cc:66: [0112/003436:INFO: host_resolver_helper.cc(66)] DNSPreResolver::Init got hostprovider:0x62d0d00c 01-12 00:34:36.051: V/chromium(21115): external/chromium/net/base/ host_resolver_impl.cc:1510: [0112/003436:INFO: host_resolver_impl.cc(1510)] HostResolverImpl::SetPreresolver preresolver:0x61b1eef8 01-12 00:34:36.051: V/KindleFireIPCProxy(21115): synchronousBinder:null serviceMessengerClient:android.os.Messenger@41b05468 01-12 00:34:36.051: D/KindleFireIPCProxy(21115): Client is bound to service 01-12 00:34:36.051: D/KindleFireIPCProxy(21115): Device has compatible version of Amazon Game Services. 01-12 00:34:36.051: I/QCNEA(21115): |CAC| CAS is enabled 01-12 00:34:36.051: I/QCNEA(21115): |CAC| [CNE CLIENT STATE MACHINE] transition NOT_CONNECTED_NOT_ATTEMPTED -> CONNECTING 01-12 00:34:36.051: D/QCNEA(21115): |CAC| Connected to server socket: 125 01-12 00:34:36.051: I/QCNEA(21115): |CAC| [CNE CLIENT STATE MACHINE] transition CONNECTING -> CONNECTED_PENDING_PERM_RESPONSE 01-12 00:34:36.051: D/QCNEA(21115): |CAC| In monitor thread, performing select 01-12 00:34:36.051: D/QCNEA(21115): |CAC| readCallback: read len:12, ret:0, errno:0 01-12 00:34:36.051: I/QCNEA(21115): |CAC| [CNE CLIENT STATE MACHINE] transition CONNECTED_PENDING_PERM_RESPONSE -> NOT_CONNECTED_ACCESS_DENIED 01-12 00:34:36.051: D/QCNEA(21115): |CAC| readCallback: read len:0, ret:0, errno:0 01-12 00:34:36.051: I/QCNEA(21115): |CAC| client permission denied. 01-12 00:34:36.051: E/QCNEA(21115): |CAC| readCallback: end of stream 01-12 00:34:36.051: V/QCNEA(21115): |CAC| Dispatching Latency Service Status Update [status:SERVICE_STOPPED] 01-12 00:34:36.051: V/QCNEA(21115): |CAC| Dispatching Bitrate Service Status Update [status:SERVICE_STOPPED] 01-12 00:34:36.051: V/QCNEA(21115): |CAC| Clients reset 01-12 00:34:36.051: D/QCNEA(21115): |CAC| Monitor loop is terminating 01-12 00:34:36.051: D/KindleFireIPCProxy(21115): Attempting to Authorize 01-12 00:34:36.051: D/KindleFireIPCProxy(21115): Handling authorize callback 01-12 00:34:36.051: W/ActivityManager(810): Service attempted to set foreground with invalid notification (notifications must have an icon) - rejecting. 01-12 00:34:36.051: E/(21115): netstack: LIB_MGR - Error loading lib libsocketpoolextend.so 01-12 00:34:36.051: I/SockPoolExtend(21115): Using default ClientSocketPoolExtend 01-12 00:34:36.051: D/(21115): external/chromium/net/socket/ tcp_fin_aggregation_factory.cc: libtcpfinaggr.so successfully loaded 01-12 00:34:36.051: D/(21115): external/chromium/net/socket/ tcp_fin_aggregation_factory.cc,: TCP Fin Aggregation initializing method was found in libtcpfinaggr.so 01-12 00:34:36.051: D/TCPFinAggregation(21115): netstack: TCPFinAggregation is 1, Version 5.0.1 01-12 00:34:36.051: D/TCPFinAggregation(21115): system property net.tcp.fin.aggregation.wait was set, value: 20 01-12 00:34:36.051: D/TCPFinAggregation(21115): system property net.tcp.fin.aggregation.close was set, value: 300 01-12 00:34:36.051: D/TCPFinAggregation(21115): netstack: CloseUnusedSockets is ON, (TCPFinAggregation), Version 5.0.1 01-12 00:34:36.051: D/TCPFinAggregation(21115): Failed to get network status! received ret: -6 01-12 00:34:36.051: D/Socket_Pool(21115): netstack: CloseUnusedSockets is ON 01-12 00:34:36.051: D/Socket_Pool(21115): netstack: system net.statistics value: 0 01-12 00:34:36.051: D/Socket_Pool(21115): netstack: CloseUnusedSockets is ON 01-12 00:34:36.051: D/Socket_Pool(21115): netstack: system net.statistics value: 0 01-12 00:34:36.051: D/(21115): external/chromium/net/http/ http_getzip_factory.cc: libgetzip.so successfully loaded 01-12 00:34:36.051: D/(21115): external/chromium/net/http/ http_getzip_factory.cc,: GETzip initializing method was found in libgetzip.so 01-12 00:34:36.051: D/(21115): netstack: Getzip is: ON, Version: 5.0.1 01-12 00:34:36.061: D/KindleFireIPCProxy(21115): authResult: AUTHORIZED 01-12 00:34:36.061: D/KindleFireIPCProxy(21115): Client is bound to service 01-12 00:34:36.061: D/KindleFireIPCProxy(21115): Attempting to check is authenticated 01-12 00:34:36.061: D/KindleFireIPCProxy(21115): Changing Status from:INITIALIZING to: SERVICE_CONNECTED 01-12 00:34:36.071: D/netstack(21115): netstack: Request Priority is ON 01-12 00:34:36.211: D/skia(21115): new locale 01-12 00:34:36.861: E/ChargeProtectionService(810): Read failed, /sys/class/power_supply/smb347_usb/device/charge_input not exist! 01-12 00:34:37.401: E/GC_WebViewFactory(21115): JS(line 2): Uncaught TypeError: Object com.amazon.ags.html5.javascript.domain.JavascriptInterface@41cdef70 has no method 'setReadyForMessages' 01-12 00:34:39.071: W/ActivityManager(810): Unable to start service Intent { act=com.google.android.gms.analytics.service.START cmp=com.google.android.gms/.analytics.service.AnalyticsService (has extras) } U=0: not found 01-12 00:34:39.081: W/GAV3(21115): Thread[Service Reconnect,5,main]: Service unavailable (code=1), using local store. 01-12 00:34:39.581: E/Looper(810): MSG TIMEOUT: time to handle message=0, time from orig schedule time = 0 , message = { what=2718 when=-22ms target={ Handler (com.android.server.Watchdog$HeartbeatHandler) {41b4be98} } } 01-12 00:34:41.951: E/ChargeProtectionService(810): Read failed, /sys/class/power_supply/smb347_usb/device/charge_input not exist! 01-12 00:34:46.061: V/Sudoku(21115): onServiceNotReady info:CANNOT_INITIALIZE 01-12 00:34:46.061: I/AmazonInsightsSDK(21115): Event: 'GameC...' recorded to local filestore could you please help to take a look? thanks
10 |5000

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

Kindle ������ avatar image
Kindle ������ answered
I've checked the logs and compared with my previous worked version and i found there's an error note which does not appeared in the previous worked version. 01-12 00:34:37.401: E/GC_WebViewFactory(21115): JS(line 2): Uncaught TypeError: Object com.amazon.ags.html5.javascript.domain.JavascriptInterface@41cdef70 has no method 'setReadyForMessages' hope that helps
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, Sorry for the late response. Can you please provide us the information I have asked below. 1. Are you upgrading the GameCircle SDK from a older version of your app? 2. Which technology you are using in your app? Java, JNI, or Unity? This might be a bug that got fixed for 2.2.1. Can you please try to update the SDK to the latest one? Thanks.
10 |5000

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