question

Kostas avatar image
Kostas asked

Unable to get api key asset document

I am having an issue where I can't get the api key file to be read on device 06-03 13:03:03.594 10994 11016 I com.amazon.identity.auth.device.appid.AbstractAppIdentifier: Finding API Key 06-03 13:03:03.594 10994 11016 I com.amazon.identity.auth.device.utils.ThirdPartyResourceParser: Unable to get api key asset document: api_key.txt 06-03 13:03:03.594 10994 11016 W com.amazon.identity.auth.device.utils.ThirdPartyResourceParser: Unable to get API Key from Assests Here's a full pastebin of the log (ending with the actual error occurring): http://pastebin.com/sr6AjgB7 Appreciate any help anyone can provide! 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.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
10 |5000

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

Kostas avatar image
Kostas answered
Just to close this in case anyone else runs in the same problem: The api_key.txt file was indeed there. The problem was that, the middleware we're using to port our iOS code to Android (AppPortable), does some cleverness where some asset files will end up in an "extension files" package (an .obb file) rather than the main .apk. So GameCircle couldn't find the file in the .apk in which it was looking for it. I've removed the extension files build setting and forced everything to build in the main apk and now GameCircle works fine.
10 |5000

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

Kostas avatar image
Kostas answered
10 |5000

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