Android Question Since B4A V6.80 my app has errors

welu1805

Active Member
Licensed User
Longtime User
Hi all,

some weeks ago I purchased a new developer license. Yesterday I compiled my app for the first time with 6.80. There are these errors and nothing works good.


B4X:
Logger connected to:  rockchip X10quad.v2
--------- beginning of /dev/log/main
** Activity (main) Create, isFirst = true **
aktSprache gefunden
de
in UpdateUI
java.lang.NoSuchMethodError: anywheresoftware.b4a.objects.ListViewWrapper.AddSingleLine
    at org.mlsoftMLmenu.mlmenu._refillmenu(mlmenu.java:382)
    at org.mlsoftMLmenu.mlmenu._addmenuitem(mlmenu.java:74)
    at de.wedersoft.xxx.main._setmenu(main.java:15614)
    at de.wedersoft.xxx.main._updateui(main.java:15499)
    at de.wedersoft.xx.main._setguilanguage(main.java:2264)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:511)
    at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:710)
    at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:339)
    at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:249)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:511)
    at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:134)
    at de.wedersoft.xxx.main.afterFirstLayout(main.java:111)
    at de.wedersoft.xxx.main.access$000(main.java:26)
    at de.wedersoft.xxx.main$WaitForLayout.run(main.java:89)
    at android.os.Handler.handleCallback(Handler.java:725)
    at android.os.Handler.dispatchMessage(Handler.java:92)
    at android.os.Looper.loop(Looper.java:137)
    at android.app.ActivityThread.main(ActivityThread.java:5041)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:511)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
    at dalvik.system.NativeStart.main(Native Method)
** Activity (main) Resume **

I deinstallted 6.80 and re-installed 6.50: All works fine, no errors.

Later I installed 6.80 again: There are the errors again.

Curious for me is further:

These 3 logs

"aktSprache gefunden"
"de"
"in UpdateUI"

are in the Sub UpdateUI, but the first command in Sub Activity_Create(FirstTime As Boolean) is "LoadLayout" and there I set a breakpoint so the sub UpdateUI cannot run.

What is in 6.80 different to 6.50?

I hope someone can help me.
Lutz
 

welu1805

Active Member
Licensed User
Longtime User
Thank you Erel,

I removed the library and added the class directly to the project. Now it works.

But are there any other things too which are changed and don't work with my apps?
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
v6.80 like all other versions is backwards compatible.
But are there any other things too which are changed and don't work with my apps?
If you are using other compiled libraries that reference B4A ListView directly then you will encounter the same issue. You will probably won't encounter any other issue.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…