Android Studio Gradle issues: Invalid Gradle JDK C

2019-04-07 06:50发布

问题:

I am using Android Studio powered by IntelliJ and Gradle, and it is giving me issues. This is the error I get and I really need help. I dont know if my path is correct but I can't seem to fix the problem. Any help will appreciated.

This is what I get after giving it the location, so I am a bit confused. the location is correct. I admit I don't know what the problem is. Thanks in advance.

回答1:

Under Android Studio, select File -> Project Structure -> JDK location.

Specify the JDK to the folder of your JAVA SDK. And also Make sure the folder does exist.

And take a look at this: Invalid Gradle JDK configuration found?