Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 4.7.2
-
None
Description
See screenshots. I have two platform SDKs installed ATM: 4.3 and 6.0. It keeps asking whether to install missing packages, but it never installs anything, and can't seem to detect what is there.
I always used Arch before, but now I have Ubuntu 18.04 on one machine, so I installed Android Studio from a snap from the Ubuntu software "store" and let it install its SDK and NDK to the standard location in ~/Android.
When trying to run sdkmanager by hand, I get an error... so that must be why. Creator does not display much of this error; it might be good if it did.
[yoga][16:48:43] /home/rutledge/Android/Sdk/tools/bin/sdkmanager 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:583) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499) ... 5 more
Attachments
Issue Links
- is duplicated by
-
QTBUG-71542 QtC keeps complaining about Missing Android SDK packages
- Closed
- is replaced by
-
QTCREATORBUG-22626 Warn if sdkmanager fails to run (e.g. because of JDK version != 8)
- Closed