App Crashes Alot - Dynamic Components Extension

Hi Koders!

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.

Thanks in Advance!

So you already know my code contains try-catch statements that adsorb the raised errors.

Can you show the full error log?

1 Like

In that case you should contact the extension developer

1 Like

which he actually did, because @yusufcihan is the extension developer…


So we can’t publish our app in playstore if we have this extension?

Hi @Techy_Rakshak
Please show complete log.
I noticed two things from given log:
1.ActivityHandler exception
2.Base Dex Class Loader exception

So I have a question:
Are you using ads in your app?

Who said? :thinking:
You can publish your app and I am sure it will not cause any issue.

1 Like

at (
at$1400 (
at$H.handleMessage (
at android.os.Handler.dispatchMessage (
at android.os.Looper.loop (
at (
at java.lang.reflect.Method.invoke (Native Method)
at$ (
at (
Caused by: java.lang.ClassNotFoundException:
at dalvik.system.BaseDexClassLoader.findClass (
at java.lang.ClassLoader.loadClass (
at java.lang.ClassLoader.loadClass (
at (
at (

Yes, @vknow360 I am Using Admob Ads in the App.

What happens when you remove Dynamic Components extension?
Also can you tell which components are you using?

The App Is of no use if I remove Dynamic Components Extension. The App Fully Depends on Dynamic Components Extension. I can’t think of removing it.

If so then please post a list of components and Dynamic Component’s methods you are using.

So By Using Dynamic Components I am Creating :

  1. CardView
  2. Space
  3. Buttons
  4. Horizontal Arrangements
  5. VerticalArrangements
  6. Label

Other Components Using :

  1. View Pager
  2. Circular Progress
  3. Swipe Refresh Layout
  4. Admob Interstitial
  5. Notifier
  6. Custom Progress
  7. Admob Banner
  8. Image Utilities
  9. Color Utilities
  10. Sharing
  11. TaigunClipboard
    14.SideMenu Layout
  12. Package Utilities
  13. Activity Starter

Extension Using ::

  1. JSONUtils
  2. TaigunClipboard
  3. VerticalScrollArrangementHandler
  4. Pallet Color
  5. Dynamic Components

Here’s the list of each and every internal or external components I use in my app.


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 :man_shrugging:.

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.

1 Like

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.

This is something i reported earlier and happening now as well.

Only seeing this issue when i am using the said extension.

I have tried duplicating the screens and issue persists.
If I create a new screen from scratch, everything is good until i add the extension.

The issue was not that severe earlier, but since yesterday it is happening more frequently and so far there is not work around.

Can You Please Guide me where I can find the full logcat as I have already provided the following error log in the community which I saw.

Please restart your companion after importing the extension.

I don’t get errors when I am using the App in my device. But the Google Play Console is showing a lot of crashes in its report.

Which android version are you using?

Crashes only occur in pie and 10.