Android Question App crash (java.lang.NoClassDefFoundError: Failed resolution of: Lflm/b4a/accelerview/AcceleratedCanvas;)

capisx

Member
Licensed User
Longtime User
Hello, Dear Community.
One of my old app that used Accelerated Surface lib and compiled with B4A 13.40 get this crash on launch:

java.lang.NoClassDefFoundError: Failed resolution of: Lflm/b4a/accelerview/AcceleratedCanvas;
at java.lang.reflect.Executable.getParameterTypesInternal(Native Method)
at java.lang.reflect.Method.getParameterTypes(Method.java:186)
at java.lang.Class.getDeclaredMethods(Class.java:2741)
at anywheresoftware.b4a.BA.loadHtSubs(BA.java:530)
at pawapp.games.onetdeluxe.main.onCreate(main.java:38)
at android.app.Activity.performCreate(Activity.java:9363)
at android.app.Activity.performCreate(Activity.java:9332)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1526)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4436)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4685)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:112)
at android.app.servertransaction.TransactionExecutor.executeNonLifecycleItem(TransactionExecutor.java:174)
at android.app.servertransaction.TransactionExecutor.executeTransactionItems(TransactionExecutor.java:109)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:81)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2895)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loopOnce(Looper.java:257)
at android.os.Looper.loop(Looper.java:342)
at android.app.ActivityThread.main(ActivityThread.java:9634)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:619)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:929)
Caused by: java.lang.ClassNotFoundException: flm.b4a.accelerview.AcceleratedCanvas
... 22 more

How to fix this? (the lib example also crash when compiled using B4A 13.40)
 
Last edited:

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

capisx

Member
Licensed User
Longtime User
Don´t do; this is a community-forum.


The Libauthor is no longer active in this forum.

I suggest not to use the library any longer.
Thanks for your kind reply and warning, and i'm sorry for not follow forum rule/etiquette.

I realize that the lib is old. i'm just asking in case there's a workaround or way to fix this, while i port the app to another lib. i'm in a deadline to update the app to API 35.
 
Upvote 0

asales

Expert
Licensed User
Longtime User
He provides the source code (in Java) to the lib in the post:
If you can not change the code, maybe you can hire some to update the lib.
 
Upvote 0
Top