question

GoldStar App avatar image
GoldStar App asked

Error integrating GameCircle with new SDK

I am creating a new App and am trying to integrate with GameCircle but I am getting error: 1) Invalid API key I have done everything as per the steps in document. The api_key file is also created and is there in assets folder. 2) Could not load AmazonGamesJni I have added the Android project as per the document. Everything complies but when I run I see this error. I tried with both Kindle Device as well as emulator. Same error ..
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 Rajesh, Could you please check that the API key does not contain any white space in the start or end? Also you should check whether you have followed this step: https://developer.amazon.com/sdk/gamecircle/documentation/gamecircle-init.html#Section3 Now GameCircleSDK contains res, libs and jni directory. You must add a reference to the GameCircle res, library and jni to your project I can see there are couple of security profiles are created in your account and few of them are linked to Game Circle. But I am not sure which one among them you are using in your app. If you are not able to solve the problem could you please raise a ContactUs ( https://developer.amazon.com/help/contactus.html) with the security profile details and sample code? Please mention this thread url ( https://forums.developer.amazon.com/forums/thread.jspa?threadID=1235&tstart=0) in the ContactUs. Thanks.
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.