Could not determine java version from ‘9.0.1’


down vote
Currently html module using deprecated jetty plugin which is removed in Gradle 4.1 version.

Android Studio 3.0 using Gradle-4.1 and android-gradle-plugin:3.0.0

Gradle 4.1 is not supported yet in LibGDX, there is an open issue for the same.

If you still want to use Android Studio 3.0

Downgrade Gradle to 3.3 from 4.1

Find gradle folder inside your project, Open and change distributionUrl for 3.3

Downgrade Android-gradle-plugin to 2.3.3 from 3.0.0

Open root build.gradle file and find artifact and change version

classpath ‘’
Comment/delete google() from repo list

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.