Android SDK manager throw Exception with Java 9 [duplicate]
问题 This question already has answers here : Failed to run sdkmanager --list with Java 9 (16 answers) Closed 2 years ago . Using sdk-tools-darwin-4333796 (26.1.1) with Java 9 when running sdkmanager is throwing : Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema at com.android.repository.api.SchemaModule$SchemaModuleVersion.<init>(SchemaModule.java:156) at com.android.repository.api.SchemaModule.<init>(SchemaModule.java:75) at com.android.sdklib