From: Arno P. <ar...@pu...> - 2011-03-23 21:40:15
|
your problem has nothing to do with XMLVM. Somehow you are mixing Java 5 and Java 6 (which have different interpretation of the @Override annotation). Arno On 3/23/2011 2:31 PM, Christoffer Kristensen wrote: > 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 regards > Christoffer > > > > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |