Error:Invalid Gradle JDK configuration found.
Platform SDK does not point to valid `JDK`
Consult IDE log for more details (Help | Show Log)
If you get the above error when you try to run gradle/gradlew tasks or commands, you need to check whether you have set the correct JDK version for Gradle Plugin.
You can do that by following the below steps (assuming you are using IntelliJ).
- Go to File -> Project Structure..
- Now select Project from sidebar
- Now make sure you have set the right version for - "Android Gradle Project Version"
- Also make sure the "Gradle Version" drop-down is set correctly.

Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!