|
使用cordova build编译,报错。有什么解决办法么,找了好半天没找到
-package-resources:
[aapt] Creating full resource package...
BUILD FAILED
D:\Program Files\Android\adt-bundle-windows-x86_64-20140702\sdk\tools\ant\build.
xml:932: The following error occurred while executing this line:
D:\Program Files\Android\adt-bundle-windows-x86_64-20140702\sdk\tools\ant\build.
xml:950: null returned: -1073741819
Total time: 8 seconds
D:\Android\workspace\demo1\platforms\android\cordova\node_modules\q\q.js:126
throw e;
^
Error code 1 for command: cmd with args: /s,/c,ant,debug,-f,D:\Android\workspace
\demo1\platforms\android\build.xml,-Dout.dir=ant-build,-Dgen.absolute.dir=ant-ge
n
Error: D:\Android\workspace\demo1\platforms\android\cordova\build.bat: Command f
ailed with exit code 8
at ChildProcess.whenDone (C:\Users\liu\AppData\Roaming\npm\node_modules\cord
ova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:766:16)
at Process.ChildProcess._handle.onexit (child_process.js:833:5) |
|