Android Question XUI Views Causes Error at Compile - Works Fine Library Unchecked

Randori

Member
Licensed User
Looking for a bit of help on this:

B4A Version: 9.50
Java Version: 8
Parsing code. (0.33s)
Building folders structure. (0.10s)
Compiling code. (2.53s)
Compiling layouts code. (0.12s)
Organizing libraries. (0.00s)
(Android Support Library)
Generating R file. (0.00s)
Compiling debugger engine code. Error
B4A line: 204
If Code = xui.DialogResponse_Cancel Then xbtn.Req
javac 1.8.0_201
shell\src\RepairShop\mobile\b4xdialog_subs_0.java:381: error: method solveBoolean in class RemoteObject cannot be applied to given types;
if (RemoteObject.solveBoolean("=",b4xdialog._code,BA.numberCast(double.class, __ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Cancel")))) {
^
required: String,RemoteObject[]
found: String,code,RemoteObject
reason: varargs mismatch; code cannot be converted to RemoteObject
1 error
 

DonManfred

Expert
Licensed User

Randori

Member
Licensed User
It does compile in release...though I have removed the views from my designs for now and have not tested functionality. When i have a moment I will add back in a custom view to see if it functions properly (or if it is just compiling and throws an error). Thanks to the both of you for the assistance!
 

Randori

Member
Licensed User
So...If I use the Legacy Debugger, it Compiles and functions in Debug. If I remove the library it compiles in the normal debugger.
 
Top