linkedin / qark

Tool to look for several security related Android application vulnerabilities
Other
3.19k stars 643 forks source link

Issue with SDKmanager #335

Open flamecopper opened 5 years ago

flamecopper commented 5 years ago

java --version openjdk 11.0.2 2019-01-15 OpenJDK Runtime Environment (build 11.0.2+9-Debian-3)

/root/Android/Sdk/tools/bin/sdkmanager Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema at com.android.repository.api.SchemaModule$SchemaModuleVersion.(SchemaModule.java:156) at com.android.repository.api.SchemaModule.(SchemaModule.java:75) at com.android.sdklib.repository.AndroidSdkHandler.(AndroidSdkHandler.java:81) at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:73) at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:48) Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) ... 5 more

flamecopper commented 5 years ago

Issue, sort of resolved when download to JDK8