Fails to build using target 1
Closed this issue · 1 comments
I was unable to build a test project following the instructions. I had no target 12, and only a target 1, so I revised the instructions to use target 1 instead. No joy. Here is the output of the final command that failed:
nelson@nelson-desktop:~/msol/pdf417/testcordova$ cordova build android
Generating config.xml from defaults for platform "android"
Preparing android project
Compiling app on platform "android" via command "/home/nelson/msol/pdf417/testcordova/platforms/android/cordova/build"
Error: An error occurred while building the android project.Error executing "ant debug -f "/home/nelson/msol/pdf417/testcordova/platforms/android/build.xml"":
BUILD FAILED
/home/nelson/adt-bundle-linux-x86-20131030/sdk/tools/ant/build.xml:720: The following error occurred while executing this line:
/home/nelson/adt-bundle-linux-x86-20131030/sdk/tools/ant/build.xml:734: Compile failed; see the compiler error output for details.
Total time: 6 seconds
at ChildProcess.<anonymous> (/usr/lib/node_modules/cordova/src/compile.js:65:22)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Socket.<anonymous> (child_process.js:956:11)
at Socket.EventEmitter.emit (events.js:95:17)
at Pipe.close (net.js:465:12)
The minimum supported Android API level for the plugin is 7.