似乎无法让Ionic Cordova build android命令正常工作?

时间:2019-10-24 18:43:15

标签: javascript android cordova ionic-framework

每次我运行命令:

ionic cordova build android

我收到此错误:

ANDROID_SDK_ROOT=C:\Users\admin\AppData\Local\Android\Sdk (recommended setting)
ANDROID_HOME=C:\Users\admin\AppData\Local\Android\Sdk (DEPRECATED)
Requirements check failed for JDK 8 ('1.8.*')! Detected version: 12.0.2
Check your ANDROID_SDK_ROOT / JAVA_HOME / PATH environment variables.
[ERROR] An error occurred while running subprocess cordova.

        cordova.cmd build android exited with exit code 1.

        Re-running this command with the --verbose flag may provide more information.```

0 个答案:

没有答案