无效的摇篮JDK的配置中发现的?摇篮、发现、JDK

由网友(执笔画素颜)分享简介:我很新的 Android的工作室。我有一个摇篮的一个问题。它说,I am very new in Android Studio. I have a problem with gradle.it says, Error:Invalid Gradle JDK configuration found.Platfor...

我很新的 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.

阅读全文

相关推荐

最新文章