我正在尝试使用离子框架的"离子模拟android"命令来模拟android.
但它引发了一个例外..
[aapt] Generating resource IDs...
[echo] ----------
[echo] Handling BuildConfig class...
[buildconfig] Generating BuildConfig class.
-pre-compile:
-compile:
BUILD FAILED
C:\adt-bundle-windows-x86-20131030\sdk\tools\ant\build.xml:601: The following er
ror occurred while executing this line:
C:\adt-bundle-windows-x86-20131030\sdk\tools\ant\build.xml:720: The following er
ror occurred while executing this line:
C:\adt-bundle-windows-x86-20131030\sdk\tools\ant\build.xml:734: Class not found:
javac1.8
Total time: 1 second
C:\PhoneApps2\myApp2\platforms\android\cordova\node_modules\q\q.js:126
throw e;
^
Error code 1 for command: cmd with args: /s,/c,ant,debug,-f,C:\PhoneApps2\myApp2
\platforms\android\build.xml,-Dout.dir=ant-build,-Dgen.absolute.dir=ant-gen
Error: cmd: Command failed with exit code 8
at ChildProcess.whenDone (C:\Users\Colin\AppData\Roaming\npm\node_modules\co
rdova\src\superspawn.js:112:23)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose …
Run Code Online (Sandbox Code Playgroud)