From: Sander K. <s.k...@de...> - 2011-11-09 10:13:16
|
Hi all, I'm having trouble running the demos as Android projects. When I type: 'ant run-Android', I get the following message: --- BEGIN LISTING --- BUILD FAILED /Users/sander/xmlvm/demo/android/sayhello/nbproject/xmlvm.xml:60: The following error occurred while executing this line: /Users/sander/xmlvm/demo/android/sayhello/nbproject/build-Android.xml:18: Error. You are using an obsolete build.xml You need to delete it and regenerate it using android update project --- END LISTING --- When I run 'android update project' with the required parameters and edit build.xml to include the right xmlvm-specific files, the result is still the same. Either way, since it complains about line 18 in build-Android.xml I decided to take a look at what's there. Turns out that line only contains "<setup />", not very spectaculair and since it's obsolete I might as well comment it out. So that's what I did and then 'ant run-Android' gives me: --- BEGIN LISTING --- BUILD FAILED /Users/sander/xmlvm/demo/android/sayhello/nbproject/xmlvm.xml:60: The following error occurred while executing this line: Target "debug" does not exist in the project "Android-impl". It is used from target "-target-run". --- END LISTING --- So, it seems like there's a build target missing, but since I'm no expert at ant I'm getting stuck here... Is there anyone who could help me with this? Thanks in advance! Best regards, Sander Knopper Netservice de Toekomst |