Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema
export PATH=$PATH:$ANDROID_HOME/cmdline-tools/latest/bin
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema
export PATH=$PATH:$ANDROID_HOME/cmdline-tools/latest/bin
flutter doctor --android-licenses Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema
Installing Android SDK Command-line tools from Android SDK Manager did the job for me.
1. Open Tools > SDK Manager
2. From the left choose, Appearance & Behavior > System Settings > Android SDK
3. Select SDK Tools from the top menu
4. Check Android SDK Command-line tools and click 'apply'.
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us