tags:

views:

34

answers:

0

when i compile simple android application using command line. following Error occur

../>ant debug

Buildfile: build.xml
[setup] Android SDK Tools Revision 6
[setup] Project Target: Android 1.6
[setup] API level: 4
[setup] WARNING: No minSdkVersion value set. Application will install on all Android versions.
[setup] Importing rules file: platforms\android-4\ant\ant_rules_r2.xml
-compile-tested-if-test:
-dirs:
[echo] Creating output directories if needed...
-resource-src:
[echo] Generating R.java / Manifest.java from the resources...
-aidl:
[echo] Compiling aidl files into Java classes...
compile:
[javac] Compiling 1 source file to D:\android_examples\demo\bin\classes
-dex:
[echo] Converting compiled files and external libraries into D:\android_examples \demo\bin\classes.dex...

BUILD FAILED
C:\android-sdk-windows\platforms\android-4\ant\ant_rules_r2.xml:268: The following error occurred while executing this line:
C:\android-sdk-windows\platforms\android-4\ant\ant_rules_r2.xml:125: The type doesn't support the nested "path" element.

Total time: 1 second