PhoneGap中文网

标题: phonegap打包时报错。。新人求助!! [打印本页]

作者: 505747751    时间: 2015-1-17 13:24
标题: phonegap打包时报错。。新人求助!!
使用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)
作者: admin    时间: 2015-1-18 21:37
重新运行一下试试
作者: jone    时间: 2015-1-25 23:21
我也遇到这问题,解决了没?




欢迎光临 PhoneGap中文网 (http://bbs.phonegap100.com/) Powered by Discuz! X3.2