Cordova:JDK 1.8 或更高版本的需求检查失败 [英] Cordova : Requirements check failed for JDK 1.8 or greater

查看:53
本文介绍了Cordova:JDK 1.8 或更高版本的需求检查失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Windows 7 操作系统中使用 Cordova 6.4.0,但在我尝试构建 android 版本时出现此错误:

I am using Cordova 6.4.0 in Windows 7 OS, but I get this error once I tried to build the android version :

Java Home 变量已正确设置为 JDK 路径,但我不知道为什么会出现此问题.请问有什么建议吗?

The Java Home variable is setted correctly to the JDK path, but I don't know why I am getting this issue. Any suggestions please ?

推荐答案

卸载所有以前的 JDK,包括 1.8安装 JDK 1.8

Uninstall all previous JDK including 1.8 Install JDK 1.8

这篇关于Cordova:JDK 1.8 或更高版本的需求检查失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆