From: Christoffer K. <chr...@ya...> - 2011-03-23 21:31:15
|
Hello xmlvm experts. I've re-compiled my android program, but now i get some odd errors.This is the out put:[xmlvm.ajavac] /Users/ProMonger/xmlvm/trunk/xmlvm/demo/android/dev-project-http2/nbproject/androidsupport.xml:81: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds[xmlvm.ajavac] Compiling 3 source files to /Users/ProMonger/xmlvm/trunk/xmlvm/demo/android/dev-project-http2/bin/classes[xmlvm.ajavac] /Users/ProMonger/xmlvm/trunk/xmlvm/demo/android/dev-project-http2/src/big8/wifi/CommunicationService.java:40: method does not override or implement a method from a supertype[xmlvm.ajavac] @Override[xmlvm.ajavac] ^[xmlvm.ajavac] /Users/ProMonger/xmlvm/trunk/xmlvm/demo/android/dev-project-http2/src/big8/wifi/CommunicationService.java:49: cannot find symbol[xmlvm.ajavac] symbol : variable START_STICKY[xmlvm.ajavac] location: class big8.wifi.CommunicationService[xmlvm.ajavac] return START_STICKY;[xmlvm.ajavac] ^[xmlvm.ajavac] /Users/ProMonger/xmlvm/trunk/xmlvm/demo/android/dev-project-http2/src/big8/wifi/CommunicationService.java:44: method does not override or implement a method from a supertype[xmlvm.ajavac] @Override[xmlvm.ajavac] ^[xmlvm.ajavac] /Users/ProMonger/xmlvm/trunk/xmlvm/demo/android/dev-project-http2/src/big8/wifi/DeviceListActivity.java:65: cannot find symbol[xmlvm.ajavac] symbol : variable layout[xmlvm.ajavac] location: class android.R[xmlvm.ajavac] android.R.layout.simple_list_item_1,[xmlvm.ajavac] ^[xmlvm.ajavac] /Users/ProMonger/xmlvm/trunk/xmlvm/demo/android/dev-project-http2/src/big8/wifi/DeviceListActivity.java:101: cannot find symbol[xmlvm.ajavac] symbol : variable layout[xmlvm.ajavac] location: class android.R[xmlvm.ajavac] android.R.layout.simple_list_item_1,[xmlvm.ajavac] ^[xmlvm.ajavac] 5 errors BUILD FAILED/Users/ProMonger/xmlvm/trunk/xmlvm/demo/android/dev-project-http2/nbproject/xcode.xml:179: The following error occurred while executing this line:/Users/ProMonger/xmlvm/trunk/xmlvm/demo/android/dev-project-http2/nbproject/androidsupport.xml:81: Compile failed; see the compiler error output for details. i'm not sure about the @override error, but as far as i know the android.R.layout.simple_list_item_1 and the START_STICKY are android specific or am i wrong? doesn't xmlvm support this? And what can i do to correct these errors? Kind regardsChristoffer |