Monday, 15 March 2010

android - Error while building cordova project -



android - Error while building cordova project -

i have working android project www provided freind. , created cordova project , added android platform same. replaced www folder project www. when build cordova project shows error.

build failed c:\android\adt-bundle\sdk\tools\ant\build.xml:932: next error occurred while executing line: c:\android\adt-bundle\sdk\tools\ant\build.xml:950: null returned: -1073741819 total time: 11 seconds c:\android\fresh\platforms\android\cordova\node_modules\q\q.js:126 throw e; ^ error code 1 command: cmd args: /s,/c,ant,debug,-f,c:\android\fresh\pla tforms\android\build.xml,-dout.dir=ant-build,-dgen.absolute.dir=ant-gen error: c:\android\fresh\platforms\android\cordova\build.bat: command failed exit code 8 @ childprocess.whendone (c:\users\riyas\appdata\roaming\npm\node_modules\co rdova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23) @ childprocess.emit (events.js:98:17) @ maybeclose (child_process.js:756:16) @ process.childprocess._handle.onexit (child_process.js:823:5)

finally have solved issue, ie error -1073741819 . due bug in aapt.exe file build-tools in sdk windows users.

replace aapt.exe file file https://android.googlecode.com/issues/attachment?aid=776290120000&name=aapt.exe.zip&token=abz6gacrj6lr-somuyvgub0gmf_bi4z7gg%3a1415016896298

for more information, check page

https://code.google.com/p/android/issues/detail?id=77629

android angularjs cordova ionic-framework

No comments:

Post a Comment