Command :> Flutter doctor –android-licenses -> generate following exception :
Exception in thread “main” java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema
at com.android.repository.api.SchemaModule $SchemaModuleVersion.(SchemaModule.java:156)
at com.android.repository.api.SchemaModule. (SchemaModule.java:75)
at com.android.sdklib.repository.AndroidSdkHandler.(AndroidSdkHandler.java:81)
Solution
Go to Android Studio and display settings for Android SDK.
Install “Android SDK Command-line Tools”
Flutter doctor –android-licenses
All SDK package licenses accepted.======] 100% Computing updates…