I updated Flutter version on my Arch Linux to 2.2.0 today.
Then I met the error "Android license status unknown." in running
flutter doctor for my first time. It was strange because I had already run
flutter doctor --android-licenses. Anyway, there was no way except running it again. And the result was:
Thus, I got "java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema". Puzzled.
Start Android Studio.
Go to [ File ] -> [ Settings ] in main menus.
In Settings, go to [ Appearance & Behavior ] -> [ System Settings ] -> [ Android SDK ].
Activate "SDK tools" tab.
Choose "Android SDK Command-line Tools". Click "OK".
The command-line tools will be installed.
flutter doctor --android-licenses printed the process had been successful.
flutter doctor, too🙂