From: Christoffer K. <chr...@ya...> - 2011-03-17 14:04:43
|
Hi all.When i try to run an android program with the command "ant use-Xcode run" i get "BUILD FAILED" with this output: -do-compile:[xmlvm.ajavac] /Users/ProMonger/xmlvm/trunk/xmlvm/demo/android/dev-project-http/nbproject/androidsupport.xml:81: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds[xmlvm.ajavac] Compiling 2 source files to /Users/ProMonger/xmlvm/trunk/xmlvm/demo/android/dev-project-http/bin/classes[xmlvm.ajavac] /Users/ProMonger/xmlvm/trunk/xmlvm/demo/android/dev-project-http/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-http/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] 2 errors BUILD FAILED/Users/ProMonger/xmlvm/trunk/xmlvm/demo/android/dev-project-http/nbproject/xcode.xml:179: The following error occurred while executing this line:/Users/ProMonger/xmlvm/trunk/xmlvm/demo/android/dev-project-http/nbproject/androidsupport.xml:81: Compile failed; see the compiler error output for details.Does anybody know how i can fix this or at least bypass it? So far, thank you for all your help.Kind regards Christoffer |