无效的摇篮JDK的配置中发现的? [英] Invalid Gradle JDK configuration found?

查看:388
本文介绍了无效的摇篮JDK的配置中发现的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很新的 Android的工作室。我有一个摇篮的一个问题。 它说,

I am very new in Android Studio. I have a problem with gradle. it says,

Error:Invalid Gradle JDK configuration found.
Platform SDK does not point to valid `JDK` `(C:/Program Files/Java/jdk1.8.0_20)`.
Consult IDE log for more details (Help | Show Log)

那么我应该怎么做才能解决?

then what should I do to solve that?

推荐答案

在Android的Studio中,选择文件>项目结构> JDK位置。 指定的JDK当前安装JDK的文件夹中。并指定SDK的位置为好。

Under Android Studio, select File > Project Structure > JDK location. Specify the JDK to the folder of your currently installed JDK. And specify the SDK location as well.

这篇关于无效的摇篮JDK的配置中发现的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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