Android Question error: cannot find symbol

Arthur Ávila

Member
Licensed User
I had a project that was working as intended. Suddenly I can't compile it anymore and got this error

B4X:
Compiling debugger engine code.    (1.80s)
Compiling generated Java code.    Error
javac 1.8.0_191
src\consulta\veiculos\restricoes\fipe\main.java:521: error: cannot find symbol
public consulta.veiculos.restricoes.fipe.placamod _buscarplaca = null;
                                        ^
  symbol:   class placamod
  location: package consulta.veiculos.restricoes.fipe
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: src\consulta\veiculos\restricoes\fipe\main.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error

If I remove the class placamod I get

B4X:
javac 1.8.0_191
src\consulta\veiculos\restricoes\fipe\main.java:538: error: cannot find symbol
public consulta.veiculos.restricoes.fipe.starter _starter = null;
                                        ^
  symbol:   class starter
  location: package consulta.veiculos.restricoes.fipe
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: src\consulta\veiculos\restricoes\fipe\main.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error


I can't figure what is the issue. Any ideas?
 

Arthur Ávila

Member
Licensed User
I guess I found the problem, it was a duplicated java code

B4X:
#if Java
public static class MyAdListener extends com.google.android.gms.ads.AdListener {
...
 
Upvote 0
Top