Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
every thing were working fine in my ionic Project i added this plugin https://github.com/peutetre/cordova-plugin-hockeyapp.. after that my app is not working..;(
BUILD FAILED
C:\Program Files (x86)\Android\android-studio\sdk\tools\ant\build.xml:892: The following error occurred while executing this line:
C:\Program Files (x86)\Android\android-studio\sdk\tools\ant\build.xml:894: The following error occurred while executing this line:
C:\Program Files (x86)\Android\android-studio\sdk\tools\ant\build.xml:906: The following error occurred while executing this line:
C:\Program Files (x86)\Android\android-studio\sdk\tools\ant\build.xml:283: null returned: 2

    Total time: 5 seconds

    F:\Repo\dProject\platforms\android\cordova\node_modules\q\q.js:126
                        throw e;
                              ^
    Error code 1 for command: cmd with args: /s,/c,ant,debug,-f,F:\Repo\dProject\platforms\android\build.xml,-Dout.dir=ant-build,-Dgen.absolute.dir=ant-gen
    Error: F:\Repo\dProject\platforms\android\cordova\build.bat: Command failed with exit code 8
        at ChildProcess.whenDone (C:\Users\shahzad\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23)
        at ChildProcess.emit (events.js:98:17)
        at maybeClose (child_process.js:756:16)
        at Process.ChildProcess._handle.onexit (child_process.js:823:5)

i am working on Ionic+cordova project using web storm really wonder stuck here work have stopped
Posted
Comments
Richard MacCutchan 23-Dec-14 4:21am    
Look at the code where the error occurred to see what is wrong with it.
Muhamad Faizan Khan 23-Dec-14 4:24am    
it showing in tools not in my code
Richard MacCutchan 23-Dec-14 4:48am    
But you still need to go back to the exact line (as shown in the error message) and find out what it is complaining about. There is nothing here that will help anyone else to figure it out.

You may get a better response by going to the site that supports this package.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900