question

soyelkorn avatar image
soyelkorn asked

Errors while updating to GameCircle API 2.0

Hi all, We use Android, and are getting errors while updating to GameCircle API 2.0, we followed the steps in update guide ( https://developer.amazon.com/sdk/gamecircle/documentation/gamecircle-upgrade2x.html). First logcat entry: - I/AGSJniHandler(19936): AmazonGamesJni is not loaded, trying to load library - E/AGSJniHandler(19936): Could not load AmazonGamesJni - E/AGSJniHandler(19936): java.lang.UnsatisfiedLinkError: Couldn't load AmazonGamesJni: findLibrary returned null Second logcat entry: - E/AndroidRuntime(19936): java.lang.IllegalArgumentException: Invalid API Key I know the second error it is because the API key is incorrect or missing as the guide tells. The step 5 in update guide tells how to get MD5 fingerprint, but does not how to generate the API key and where to put it. The help is greatly appreciated.
10 |5000 characters needed characters left characters exceeded

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

1 Answer

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Soyelkorn, Thank you for posting. To understand better about app security profile and api key associated with it you should refer below links. https://developer.amazon.com/sdk/gamecircle/documentation/gamecircle-config.html#Section3 https://developer.amazon.com/sdk/gamecircle/documentation/gamecircle-config.html#Section5 https://developer.amazon.com/sdk/gamecircle/documentation/gamecircle-config.html#Section6 Please follow above links to set up a security profile and associate an api key with it. You should be able to successfully migrate to GameCircle 2.0.
10 |5000 characters needed characters left characters exceeded

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