Beta B4A 6.80 Beta #1 error

itgirl

Active Member
Licensed User
Longtime User
B4X:
ActionBar Height: 56
postviewer_setinsidelayout (java line: 5035)
java.lang.NoSuchMethodError: No virtual method setText(Ljava/lang/Object;)V
 in class Lanywheresoftware/b4a/objects/LabelWrapper; 
or its super classes (declaration of 'anywheresoftware.b4a.objects.LabelWrapper' appears in /data/app/test.beta.b4a-1/base.apk)

Device Android:5.1
android.jar = 25
targetSdkVersion="23"
minSdkVersion="9"
MultiDex: enabled
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

itgirl

Active Member
Licensed User
Longtime User
DonManfred, I tried Erel solution didn't work looks the same error but the error on that post is for EditTextWrapper but mine is for
LabelWrapper
 
Upvote 0

johndb

Active Member
Licensed User
Longtime User
B4X:
ActionBar Height: 56
postviewer_setinsidelayout (java line: 5035)
java.lang.NoSuchMethodError: No virtual method setText(Ljava/lang/Object;)V
in class Lanywheresoftware/b4a/objects/LabelWrapper;
or its super classes (declaration of 'anywheresoftware.b4a.objects.LabelWrapper' appears in /data/app/test.beta.b4a-1/base.apk)

Device Android:5.1
android.jar = 25
targetSdkVersion="23"
minSdkVersion="9"
MultiDex: enabled
I have had to remove older libraries due to the same and other similar errors. Some of the libraries are no longer supported in the forum so I have had to find workarounds by writing my own code for the required processes. My apps are stable now after having done that but it is a very time consuming process determining which third party libraries are causing problems and writing replacement code. Good luck :(
 
Upvote 0

johndb

Active Member
Licensed User
Longtime User
Have you tested it with a project that previously didn't compile properly? Do you see multiple classesX.dex files in the APK?
Yes @Erel. Successfully compiled one of my very large projects that had failed previously due to too many references. Confirmed that there are multiple classX.dex files. :)
 
Upvote 0
Top