Maybe you dont install all packages that is necessary for android the link below can help you https://doc.qt.io/qt-5/android-getting-started.html#installing-the-android-sdk-essentials
romshark@Romans-MBP-2 bin % ./sdkmanager --sdk_root=/Users/romshark/Library/Android/sdk --install "cmdline-tools;latest" 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:641) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520) ... 5 more god damn it...
You can use android studio and setup this environment for c++
ehm... may I ask how to get it? 🤔
It's there in the /tools/source.properties
Alright, I have the same version. They've deprecated SDK tools, now they use command-line tools. https://developer.android.com/studio/releases/sdk-tools
Обсуждают сегодня