PhoneGap中文网

标题: phonegap cmd cordova build报错 [打印本页]

作者: juing    时间: 2014-6-16 09:49
标题: phonegap cmd cordova build报错
其他步骤都没问题,但是当执行cordova build时,报build failed ...... sdk\tools\ant\build.xml:734: Class not found: javac1.8
报错误如图示,该怎么弄?C:\Users\Juing\Desktop\error.jpg
作者: juing    时间: 2014-6-16 09:50
不会发图~~:

BUILD FAILED
D:\workTools\sdk\tools\ant\build.xml:601: The following error occurred while exe
cuting this line:
D:\workTools\sdk\tools\ant\build.xml:720: The following error occurred while exe
cuting this line:
D:\workTools\sdk\tools\ant\build.xml:734: Class not found: javac1.8

Total time: 2 seconds
Error code 1 for command: cmd with args: /s,/c,ant,debug,-f,D:\phonegap\financia
lApp\platforms\android\build.xml,-Dout.dir=ant-build,-Dgen.absolute.dir=ant-gen
Error: D:\phonegap\financialApp\platforms\android\cordova\build.bat: Command fai
led with exit code 2
    at ChildProcess.whenDone (C:\Users\Juing\AppData\Roaming\npm\node_modules\co
rdova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:753:16)
    at Process.ChildProcess._handle.onexit (child_process.js:820:5)

作者: juing    时间: 2014-6-17 08:30
怎么没人顶,树根老师,求教啊~~
作者: admin    时间: 2014-6-17 13:14
PhoneGap3.4安装视频教程地址:

http://bbs.phonegap100.com/thread-668-1-1.html

看看教程看哪一步有问题  万一不行学习阶段 用2.9
作者: juing    时间: 2014-6-17 13:27
视频看过了~~就创建项目最后一步build的时候会报那个错误,但有过一次是创建成功的,但其他时候都会报这个错
BUILD FAILED
D:\workTools\sdk\tools\ant\build.xml:601: The following error occurred while exe
cuting this line:
D:\workTools\sdk\tools\ant\build.xml:720: The following error occurred while exe
cuting this line:
D:\workTools\sdk\tools\ant\build.xml:734: Class not found: javac1.8





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