Reputation: 150
I just update my Android Studio from version 3.5.3 to 3.6, now I open any project I see this error and gradle doesn't sync
Upvotes: 14
Views: 18971
Reputation: 380
I found out that some people might use Android 4.0 with Java 14 and Gradle 6.1.1 like me. And they are not supported for each other, so just update Gradle to 6.5.1; it will solve the problem. To update Gradle, click in the Android Studio tab: File -> Project Structure -> Project. Then, change the Gradle version to 6.5.1.
Thanks, it was very helpfull!
Upvotes: 3
Reputation: 1388
Here's what I did to solve the issue with JDK 11 + Android 4.0.
Upvotes: 1
Reputation: 3745
I was having the same issue. I solved it by changing the JDK version I was using which was JDK 13.
Upvotes: 39