FAILURE: Build failed with an exception.
Where: Build file 'D:\D\FitCoachApp\fit_coach_app\android\build.gradle'
What went wrong: Could not compile build file 'D:\D\FitCoachApp\fit_coach_app\android\build.gradle'.
startup failed: General error during conversion: Unsupported class file major version 64
java.lang.IllegalArgumentException: Unsupported class file major version 64
[enter image description here](https://i.stack.imgur.com/WKYeM.png)
In my case I could sorted it by changing the gradle JVM. Settings... -> Build, Execution, Deployment -> Build Tools -> Gradle then downgrade the Gradle JVM. In my case I had to change from 20 to 17. After go to build.gradle and click on syncup button