When I make a new project I get the following error:
sync failed: Could not determine java version from ‘9.0.4’.
I’m new to gradle so I’m not sure exactly what folders are supposed to be there but my entire projects file structure only has the following files:
TestProject
gradle
4.5.1
idea
build.gradle
settings.gradle
external libraries
I’m using Intellij and have the latest JDK and Java version. I’ve also installed the latest version of gradle. I’ve read that I need to update a gradle wrapper but I can’t find this anywhere and can’t figure out how to generate it.
How do I solve this error?