java - Codenameone Build Server Fail -
when trying build android app apk, build server errors , fails build. however, in simulator application works fine, , class errors believe created compiler (it not 1 of inside application)
here error log: -
:compiledebugjavawithjavac - not incremental (e.g. outputs have changed, no previous execution, etc.). file or directory '/tmp/build4365298428607247775xxx/main/src/debug/java', not found compiling jdk java compiler api. /tmp/build4365298428607247775xxx/main/src/main/java/com/<hidden package name privacy>/salestraining/mainstub.java:176: error: cannot find symbol display.getinstance().callserially(new runnable() { public void run() {i.destroy();} }); ^ symbol: method destroy() location: variable of type main note: input files use or override deprecated api. note: recompile -xlint:deprecation details. note: input files use unchecked or unsafe operations. note: recompile -xlint:unchecked details. 1 error :compiledebugjavawithjavac failed :compiledebugjavawithjavac (thread[daemon worker,5,main]) completed. took 7.165 secs. failure: build failed exception. * went wrong: execution failed task ':compiledebugjavawithjavac'. > compilation failed; see compiler error output details.
you removed destroy()
callback method main class. main class should include 4 methods don't throw exceptions:
public void init(object) {} public void start() {} public void stop() {} public void destroy() {}
Comments
Post a Comment