赞
踩
关于运行:sdkmanager --update报错的原因是因为本地安装的jdk版本太高,安装jdk1.8版本就没问题了
- 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.repository.AndroidSdkHandler.<clinit>(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:582)
- at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
- at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
- ... 5 more
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。