When I compile my project in Debug mode I encounter this error:
It began when I added XUI Views library to the project.
If I remove XUI Views from my project no compiler error happens.
This only appears in Debug mode. If I compile in Release mode, no error happens.
As it appears there is an argument mismatch somewhere but I can't find it.
The error message is not exactly very informative.
Any ideas how I should try to solve this problem?
Compiler error:
B4A Version: 12.00
Parsing code. (0.12s)
Java Version: 8
Building folders structure. (0.48s)
Running custom action. (0.04s)
Compiling code. (0.23s)
Compiling layouts code. (0.02s)
Organizing libraries. (0.00s)
(AndroidX SDK)
Compiling resources (0.07s)
Linking resources (0.36s)
Compiling debugger engine code. Error
B4A line: 91
If Number < MIN_VALUE Or Number > MAX_VALUE Then
javac 1.8.0_251
shell\src\b4a\example\b4xformatter_subs_0.java:209: error: method solveBoolean in class RemoteObject cannot be applied to given types;
if (RemoteObject.solveBoolean("<",b4xformatter._number,BA.numberCast(double.class, __ref.getField(true,"_min_value" /*RemoteObject*/ ))) || RemoteObject.solveBoolean(">",b4xformatter._number,BA.numberCast(double.class, __ref.getField(true,"_max_value" /*RemoteObject*/ )))) {
^
required: String,RemoteObject[]
found: String,number,RemoteObject
reason: varargs mismatch; number cannot be converted to RemoteObject
1 error
It began when I added XUI Views library to the project.
If I remove XUI Views from my project no compiler error happens.
This only appears in Debug mode. If I compile in Release mode, no error happens.
As it appears there is an argument mismatch somewhere but I can't find it.
The error message is not exactly very informative.
Any ideas how I should try to solve this problem?