Hello everybody,
I was working on app inventor sources and i have triggered this error,
actually i was adding option to rename source structure item using a button added to a box, i had made my own code, but while compiling i got silly error which is Cannot find symbol : ClickEvent
in this code
deleteButton.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event){
sourceStructureExplorer.deleteItemFromTree();
}
});
This is the full log
$ ant noplay
Buildfile: D:\appinventor-sources\appinventor\build.xml
noplay:
init:
MakeWarLibsDir:
common_CommonUtils:
init:
CommonUtils:
common_CommonVersion:
init:
CommonVersion:
components_CommonConstants:
init:
CommonConstants:
WarLibs:
AiSharedLib:
AiServerLib:
components_AndroidRuntime:
common_CommonVersion:
init:
CommonVersion:
init:
HtmlEntities:
Barcode:
CopyComponentLibraries:
common_CommonUtils:
init:
CommonUtils:
CommonConstants:
AnnotationProcessors:
AndroidRuntime.uptodate:
AndroidRuntime:
AiClientLib:
[depend] Deleted 105 out of date files in 1 seconds
[javac] Compiling 203 source files to D:\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes
[javac] D:\appinventor-sources\appinventor\appengine\src\com\google\appinventor\client\boxes\SourceStructureBox.java:69: error: cannot find symbol
[javac] public void onClick(ClickEvent event) {
[javac] ^
[javac] symbol: class ClickEvent
[javac] D:\appinventor-sources\appinventor\appengine\src\com\google\appinventor\client\boxes\SourceStructureBox.java:87: error: cannot find symbol
[javac] public void onClick(ClickEvent event){
[javac] ^
[javac] symbol: class ClickEvent
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 2 errors
BUILD FAILED
D:\appinventor-sources\appinventor\build.xml:50: The following error occurred while executing this line:
D:\appinventor-sources\appinventor\appengine\build.xml:545: The following error occurred while executing this line:
D:\appinventor-sources\appinventor\build-common.xml:125: Compile failed; see the compiler error output for details.
Total time: 19 seconds
I don't know the reason,
Help will be appreciated
Thank You