question

nikoloz995 avatar image
nikoloz995 asked

Flash Develop CANNOT_INITIALIZE GameCircle

Hello, I am using flash develop and trying to run example file: GameCircleExample2.as, and all i got Is: CANNOT_INITIALIZE . I have done everything as instruction,I added Ane and SWC(added into library), updated application.xml manifest, generated API key and put it in assets folder of my example project, added Test user and I am testing it on Kidnle Fire HD. I am not sure that api_key.txt is included in apk. I couldn't find out to do that in flash develop. I tried to do that in flash builder as mentioned here : https://developer.amazon.com/public/apis/engage/gamecircle/docs/air-ane-2x-build-test (Drag the file api_key.txt into your project. Select Project > Properties > ActionScript Build Packaging > Google Android. Ensure the checkbox for api_key.txt is selected.) , but the same problem... I tried everything, i don't know what am i doing wrong. please help. 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.

mm_punya avatar image
mm_punya answered
I was pulling my hair out with this issue today also. The problem for me was that I had the wrong bundle identifier set up in my GameCircle Configuration. I had my bundle identifier set to "com.mydomain.myappname" however since Im using AIR and flash Builder, the bundle id was actually meant to be: "air.com.mydomain.myappname". I generated a API key using the the correct bundle id and updated my app. Game Circle works fine for me now. Hope this is of some help - Punya
10 |5000

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

levanilek avatar image
levanilek answered
Thank u so much for your response, ill try it :)
10 |5000

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