I am using Cordova CLI and have installed a basic app for android platform.
I installed the Pushwoosh plugin and added the necessary scripts and GCM ID and App IDs etc to the project.
When I compile the project I get an error that related to Java (from Googling).
I have compiled and built other projects that dont contain PW just fine so I thought it may point to the plugin.
Is PW compatible with Cordova v 4.0.0?
cordova --version 4.0.0
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
All of Android Tools are installed and the Extras from SDK.
BUILD FAILED /Users/odalton/Development/adt-bundle-mac-x86_64-20140702/sdk/tools/ant/build.xml:892: The following error occurred while executing this line: /Users/odalton/Development/adt-bundle-mac-x86_64-20140702/sdk/tools/ant/build.xml:894: The following error occurred while executing this line: /Users/odalton/Development/adt-bundle-mac-x86_64-20140702/sdk/tools/ant/build.xml:906: The following error occurred while executing this line: /Users/odalton/Development/adt-bundle-mac-x86_64-20140702/sdk/tools/ant/build.xml:283: null returned: 2
Total time: 2 seconds
/Applications/MAMP/htdocs/phoneapp/json/platforms/android/cordova/node_modules/q/q.js:126 throw e; ^ Error code 1 for command: ant with args: debug,-f,/Applications/MAMP/htdocs/phoneapp/json/platforms/android/build.xml,-Dout.dir=ant-build,-Dgen.absolute.dir=ant-gen Error: /Applications/MAMP/htdocs/phoneapp/json/platforms/android/cordova/build: Command failed with exit code 8 at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23) at ChildProcess.EventEmitter.emit (events.js:98:17) at maybeClose (child_process.js:735:16) at Process.ChildProcess._handle.onexit (child_process.js:802:5)
Please sign in to leave a comment.