When I try to build an phonegap/cordova app with command:
cordova build android
I'm getting an error:
BUILD FAILED
Target "debug" does not exist in the project "CordovaApp".
Total time: 0 seconds
/path_to_app/platforms/android/cordova/node_modules/q/q.js:126
throw e;
^
Error code 1 for command: ant with args: debug,-f,/path_to_app/platforms/android/build.xml,-Dout.dir=ant-build,-Dgen.absolute.dir=ant-gen
ERROR building one of the platforms: Error: /path_to_app/platforms/android/cordova/build: Command failed with exit code 8
You may n
ot have the required environment or OS to build this project
I think it can be related with my ~/Library/Android/sdk/tools/ant/build.xml file - I maybe accidentally mess it up - could anyone provide me code from that file?
Please help.
0 comments:
Post a Comment