Android Question Strange error when compiling.

vecino

Well-Known Member
Licensed User
Longtime User
Hello, after this strange case, now another stranger.
Also, this problem has stopped me, unable to work.
When I try to compile I get this error:

B4ABuilder v8.30
BaseFolder: c:\Proyectos\conkex_preventa_jj
ProjectFile: conkexpreventajj.b4a
BuildConfiguration: Default,conkex.preventa
Parsing code.
Compiling code.
Compiling layouts code.
Organizing libraries.
ManagerSpecialLibraries: building jar - c:\Proyectos\conkex_preventa_jj\Objects\bin\extra\stan.jar
Generating R file.
Compiling generated Java code.
System.Exception: Error: javac 1.8.0_131
src\conkex\preventa\designerscripts\LS_fpanelmasdatoscliente.java:28: error: no suitable method found for NumberToString(no arguments)
BA.NumberToString();
^
method BA.NumberToString(double) is not applicable
(actual and formal argument lists differ in length)
method BA.NumberToString(float) is not applicable
(actual and formal argument lists differ in length)
method BA.NumberToString(int) is not applicable
(actual and formal argument lists differ in length)
method BA.NumberToString(long) is not applicable
(actual and formal argument lists differ in length)
method BA.NumberToString(Number) is not applicable
(actual and formal argument lists differ in length)
Note: src\conkex\preventa\starter.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error


at dt.a(a A_0)
at b4.i(String[] A_0)
at b4.l(String[] A_0)
Error: javac 1.8.0_131
src\conkex\preventa\designerscripts\LS_fpanelmasdatoscliente.java:28: error: no suitable method found for NumberToString(no arguments)
BA.NumberToString();
^
method BA.NumberToString(double) is not applicable
(actual and formal argument lists differ in length)
method BA.NumberToString(float) is not applicable
(actual and formal argument lists differ in length)
method BA.NumberToString(int) is not applicable
(actual and formal argument lists differ in length)
method BA.NumberToString(long) is not applicable
(actual and formal argument lists differ in length)
method BA.NumberToString(Number) is not applicable
(actual and formal argument lists differ in length)
Note: src\conkex\preventa\starter.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error

I'm desperate!!!
 

vecino

Well-Known Member
Licensed User
Longtime User
Hi, thanks for your help.
Although in this case, it has nothing to do with it.
I am compiling a program that has been running for years and I have only added a panel with a label and a button.
Then I removed the panel, and it always shows that error. I can not compile
 
Upvote 0

vecino

Well-Known Member
Licensed User
Longtime User
Hello again
I have removed the new panel. I have created it again.
Now it works well.
I do not know what could have happened before. Unsolved mysteries.
Thanks friends.
 
Upvote 0
Top