This code works in the Release mode:
But in Debug mode I get the error:
Which could be the problem?
B4X:
Dim vlr As Double = 0
If IsNumber(edtValor.Text) Then vlr = edtValor.Text
LogColor(vlr.As(Double), Colors.Cyan)
B4X:
LogColor(vlr.As(Double), Colors.Cyan)
shell\src\br\com\profiles\pageedit_subs_0.java:3689: error: incompatible types: RemoteObject cannot be converted to double
parent.__c.runVoidMethod ("LogImpl","812714016",BA.NumberToString(((double)_vlr)),parent.__c.getField(false,"Colors").getField(true,"Cyan"));