Due to removal of Java EE modules in Java 11: https://jaxenter.com/jdk-11-java-ee-modules-140674.html This could be fixed by using new new Android SDK Command-line Tools For JVM 9, 10, 11, And Later: https://www.dev2qa.com/how-to-fix-java-lang-noclassdeffounderror-javax-xml-bind-annotation-xmlschema-when-install-android-sdk/