I have developed an app from kodular and used Dynamic Components Extension by @yusufcihan , Sorry Peter if you are here to say that don’t tag people but I highly suspect that his extension is the root cause. As the Dynamic Components Extension is Open Source I have checked it’s code.
And After searching out for the error in Crash report by Play Store I have re-searched it on Google. Found some article with reason listed and the n my mind clicked that this type of code was In Dynamic Components Extension.
Please if anyone can help me out to fix this issue. OR if it’s the error in the dynamic Components Extension the report it and fix it as soon as possible.
java.lang.RuntimeException:
at android.app.ActivityThread.handleReceiver (ActivityThread.java:4087)
at android.app.ActivityThread.access$1400 (ActivityThread.java:270)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2062)
at android.os.Handler.dispatchMessage (Handler.java:107)
at android.os.Looper.loop (Looper.java:237)
at android.app.ActivityThread.main (ActivityThread.java:7948)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1075)
Caused by: java.lang.ClassNotFoundException:
at dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:196)
at java.lang.ClassLoader.loadClass (ClassLoader.java:379)
at java.lang.ClassLoader.loadClass (ClassLoader.java:312)
at android.app.AppComponentFactory.instantiateReceiver (AppComponentFactory.java:110)
at android.app.ActivityThread.handleReceiver (ActivityThread.java:4080)
If it is really coming from my extension then as I said my extension catches the ClassNotFoundException(s) already, so it never reports these exceptions to the screen.
It just only shows App Inventor Runtime Errors if it is wrong with your blocks. So if these errors are being shown for you, then users will see these errors too.
But if you don’t see any error from my extension as Runtime Errors in your app, then you should question other extensions maybe .
Also without a full logcat, me or nobody can’t determine this issue.
Also we get that exception mostly when we use any external library (classes) but your extension uses java classes mainly so there is no chance that the issue is due to your extension.
I can related to the issue, i am also observing the same.
When i am adding the extension “Dynamic Components” by companion doesn’t load anything it is complete blank screen and as soon as i remove this extension everything comes back to normal.