question

amazonappstore-admin avatar image
amazonappstore-admin asked

Fire OS 7.3.1.6 : App is crashing only in this particular Fire tablet OS version

Our app is crashing with the below stack-trace in the Amazon tablet running Fire OS 7.3.1.6.


This crash is happening only with the release build in Fire OS 7.3.1.6 and debug build is fine and other Fire OS version (4, 5, and 6) has no issues.

You can find the full stack-track in amazon-crash-stacktrace.txt.


Any help would be much appreciated.


java.lang.NoSuchFieldError: No static field T of type Lkotlinx/coroutines/CoroutineExceptionHandler$a; in class Lkotlinx/coroutines/CoroutineExceptionHandler; or its superclasses (declaration of 'kotlinx.coroutines.CoroutineExceptionHandler' appears in /system/priv-app/AmazonPlatform-release/AmazonPlatform-release.apk)
at kotlinx.coroutines.i1$a.<clinit>(Job.kt:2)
at kotlinx.coroutines.i1.<clinit>(Unknown Source:0)
at kotlinx.coroutines.n1.getKey(JobSupport.kt:1)
at kotlin.x.f$a$a.invoke(CoroutineContext.kt:3)




fire tabletandroidapp
10 |5000

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

Sheldon@Amazon avatar image
Sheldon@Amazon answered

Hello,


Thank you for posting. Relevant team is investigating the issue and we will post here as soon as we have an update.


Regards,

Sheldon

10 |5000

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

amazonappstore-admin avatar image
amazonappstore-admin answered

@Sheldon@Amazon Is there any update on this?

10 |5000

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

Harry avatar image
Harry answered

Could it be related to my problem? A variable randomly going to zero. Only on OS 7. This could cause a divide by zero error.

My app also works fine on OS 4 and all other devices.

https://amazon.developer.forums.answerhub.com/questions/242431/my-app-behaves-differently-on-latest-fire-hd-8.html



10 |5000

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