Android Question Compile Error After Changed the package name

Richard Goh

Active Member
Licensed User
Longtime User
Hi I had below error during compilation after I changed my package name. I had tried to do clean project, checking on the layout. But I not using the CustomListView in my design layout. The CustomListView will be created dynamically. Please advice. Thank you.

B4X:
Parsing code.                          0.17
Compiling code.                        0.39
Compiling layouts code.                0.02
Generating R file.                      0.28
Compiling generated Java code.          Error
javac 1.7.0_25
src\xxx\xxxxxx\customlistview.java:41: error: cannot find symbol
public xxx.xxxxxx.main _main = null;
          ^
  symbol:  class xxxxxx
  location: class xxx
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: src\xxx\xxxxx\jobmap.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
 

Richard Goh

Active Member
Licensed User
Longtime User

Hi found the problem. Is the package name format given in the package is incorrect.
It's worked after added in the com.xxx.xxxxxx.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…