Runtime Error while loading ColinTreeListView (MediaUtil getBitmapDrawableAsync)

Hello everyone,

I am facing a runtime crash in my Kodular app when I try to load ColinTreeListView.

Error shown:

java.lang.NoSuchMethodError:
No static method getBitmapDrawableAsync(…)
in com.google.appinventor.components.runtime.util.MediaUtil

What happens:

the app was working perfectly but when recently i thought to update the app then i found that its showing this all error i am not sure that i did something in the block but like is there anyone who can help me please

1 Like

Hi dear,

Could you show us the blocks related to ColinTreeListView?

Yes sure,
basically i am using Gsheet extension by app helper to load the data from the gsheet to colintreelist view here are the blocks:-

steps are as guided by app helper tutorial

Important point : i just checked the old version aia file which was working earlier perfectly without any error now when i export i got same error so it means there is no fault in blocks as earlier it was working perfectly. so now what to do ?? is it the bug of kodular or what ???

How old are this projects? is the extension up to date?

umm last year March 2025 , i dont know about the extension version i am using colintreelistview

yes i just checked and as per offical webpage Custom ListView - ColinTreeListView * · Appinventor/Thunkable Extensions my app has latest verison 11

Share us with your sample aia for testing

umm to share a sample aia file i need some time beacuse it a big file with aprox 6K blocks

is there anyone who is using colintreelist view in is project i request them to export the app and test it weather thery are getting same problem , as i think

It might be device specific
Which device anf Android version are you using for your tests?
Did you try on another device?

Taifun

umm i am using vivo v11 pro , not yet checked with another device let me check an update by tommrow

Android version?
Taifun

Android 8.1 (Oreo) I GUESS, but i checked with latest model phone also same error

which means, it is NOT a device specific issue
Probably the author of the extension can check?
You can try to contact Colin Tree here GitHub - OpenSourceAIX/ColinTreeListView

Taifun

Have you tried downloading the extension again and re-importing it? Maybe it got corrupted (unlikely, but not impossible).
Use “Direct download”

ColinTreeListView 2019.6.5 (Version 11)
The extension is now obsolete; it uses “MediaUtil.getBitmapDrawable” and that method no longer exists with the new Kodular, IA2, or other platforms.
It’s not a problem with the Android version, but with the compiler.
The developer should update and change the methods.

2 Likes

So what is the solution for it ??? how to ask the developer to provided the updated compatible version

i think the developer is in-active. and as the extension in open source so could you help me to update it ??

ColinTreeListView-11.zip (19.2 KB)

1 Like