There is an issue with trying to login to Amazon's Game Circle. I'm having a problem with the api key. I have the api_key.txt file downloaded from amazon portal for my game and I placed in the assets folder and set the key in the manifest file but having in it issues.
Here is the logcat info:
Quote: "
02-27 10:40:50.592 4445-4464/? I/com.amazon.identity.auth.device.appid.AbstractAppIdentifier: getAppInfo : packageName=com.KG2Entertainment.WhileYouAreWaiting
02-27 10:40:50.592 4445-4464/? I/com.amazon.identity.auth.device.appid.AbstractAppIdentifier: Finding API Key for com.KG2Entertainment.WhileYouAreWaiting
02-27 10:40:50.594 4445-4464/? I/com.amazon.identity.auth.device.utils.ThirdPartyResourceParser: Attempting to parse API Key from assets directory
02-27 10:40:50.596 4445-4464/? I/com.amazon.identity.auth.device.appid.APIKeyDecoder: Begin decoding API Key for packageName=com.KG2Entertainment.WhileYouAreWaiting
02-27 10:40:50.608 4445-4464/? D/com.amazon.identity.auth.device.appid.APIKeyDecoder.PII: APIKey:<obscured>
02-27 10:40:50.609 4445-4464/? I/com.amazon.identity.auth.device.appid.APIKeyDecoder: num sigs = 1
02-27 10:40:50.610 4445-4464/? D/com.amazon.identity.auth.device.appid.APIKeyDecoder.PII: Signature checking.:<obscured>
02-27 10:40:50.611 4445-4464/? D/com.amazon.identity.auth.device.appid.APIKeyDecoder.PII: Fingerpirint checking:<obscured>
02-27 10:40:50.617 4445-4464/? W/com.amazon.identity.auth.device.appid.APIKeyDecoder: Failed to decode: Decoding fails: certificate fingerprint can't be verified!
java.lang.SecurityException: Decoding fails: certificate fingerprint can't be verified!
at com.amazon.identity.auth.device.appid.APIKeyDecoder.verifyPayload(APIKeyDecoder.java:332)
at com.amazon.identity.auth.device.appid.APIKeyDecoder.doDecode(APIKeyDecoder.java:127)
at com.amazon.identity.auth.device.appid.APIKeyDecoder.decode(APIKeyDecoder.java:91)
at com.amazon.identity.auth.device.appid.AbstractAppIdentifier.getAppInfo(AbstractAppIdentifier.java:85)
at com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager.<init>(AmazonAuthorizationManager.java:123)
at com.amazon.ags.api.AmazonGamesClient.initialize(AmazonGamesClient.java:144)
at com.thegamecreators.agk_player.AGKHelper.GameCenterLogin(AGKHelper.java:1215)
02-27 10:40:50.619 4445-4464/? E/GameCircleClient: Unable to read api key. GameCircle requires an api key to be included in 'assets/api_key.txt'. GameCircle will not initialize.
java.lang.IllegalArgumentException: Invalid API Key
at com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager.<init>(AmazonAuthorizationManager.java:126)
at com.amazon.ags.api.AmazonGamesClient.initialize(AmazonGamesClient.java:144)
at com.thegamecreators.agk_player.AGKHelper.GameCenterLogin(AGKHelper.java:1215)
02-27 10:40:50.961 449-857/? I/ActivityManager: Killing 4373:com.amazon.sync.service/u0a22109 (adj 12): empty #13
"
Prove Your Worthiness
KG2Entertainment.com