java.lang.RuntimeException:

Hello
Play console shows some error report.How can i fix this?
ava.lang.RuntimeException:
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2763)
at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2824)
at android.app.ActivityThread.-wrap12 (ActivityThread.java)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1546)
at android.os.Handler.dispatchMessage (Handler.java:102)
at android.os.Looper.loop (Looper.java:154)
at android.app.ActivityThread.main (ActivityThread.java:6351)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:896)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:786)
Caused by: java.lang.IllegalStateException:
at io.fabric.sdk.android.Fabric.singleton (Fabric.java:275)
at io.fabric.sdk.android.Fabric.getKit (Fabric.java:525)
at com.crashlytics.android.answers.Answers.getInstance (Answers.java:34)
at com.google.appinventor.components.runtime.util.KodularAnalyticsUtil.logScreenOpen (SourceFile:44)
at com.google.appinventor.components.runtime.Form.onCreate (SourceFile:341)
at android.app.Activity.performCreate (Activity.java:6775)
at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1119)
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2716)

Do you have any errors in blocks? If not, I think you can ignore that. Because I don’t think this error can made by blocks.

2 Likes

I cant ignore this error.This error giving anr for some devices which is reporting on google play console.My app crashing %20 of my users because of this error.There is no error on my block.

This by definition means that a method has been invoked at an illegal or inappropriate time. In other words, the Java environment or Java application is not in an appropriate state for the requested operation.

I am no expert, however with this Zygote error, it could be a sequence of events that your users are doing. Click button, click text box, back to button.

Do you have a clock running, that could be interferring with the regular programatic readniess?