question

Maj avatar image
Maj asked

Bug in the new Android SDK

I got the following crash report in our app which I believe relates to the new SDK, please take a look: java.lang.Error: FATAL EXCEPTION [Thread-292] Unity version : 4.5.1f3 Device model : TCT ONE TOUCH 4033E Caused by: java.lang.ArrayIndexOutOfBoundsException: length=0; index=3 at java.util.HashMap.addNewEntry(HashMap.java:479) at java.util.HashMap.put(HashMap.java:411) at com.amazon.device.ads.ReflectionCache.getClass(Reflector.java:66) at com.amazon.device.ads.GooglePlayServices$AdvertisingIdClient.getReflectedClass(GooglePlayServices.java:214) at com.amazon.device.ads.GooglePlayServices$AdvertisingIdClient. (GooglePlayServices.java:210) at com.amazon.device.ads.GooglePlayServices.createAdvertisingIdClient(GooglePlayServices.java:51) at com.amazon.device.ads.GooglePlayServices.getAdvertisingIdentifierInfo(GooglePlayServices.java:72) at com.amazon.device.ads.AdvertisingIdentifier.fetchGooglePlayServicesAdvertisingIdentifierInfo(AdvertisingIdentifier.java:128) at com.amazon.device.ads.AdvertisingIdentifier.getAdvertisingIdentifierInfo(AdvertisingIdentifier.java:56) at com.amazon.device.ads.AdLoader.beginFetchAds(AdLoader.java:612) at com.amazon.device.ads.AdLoader.access$100(AdLoader.java:40) at com.amazon.device.ads.AdLoader$3.startUpReady(AdLoader.java:580) at com.amazon.device.ads.StartUpWaiter$1.run(StartUpWaiter.java:62) at java.lang.Thread.run(Thread.java:838)
mobile ads
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
Thanks for the report. I have passed this to concerned team.
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
Hi Maj, Can you ensure that you are using SDK version 5.4.75 which is the latest release? Can you reproduce the issue on your own? Is that possible for you to provide the full logcat when the issue happens. Thanks. Message was edited by: Sujoy@Amazon
10 |5000

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