Home » Android Studio » Flutter doctor – Android licenses status unknown

Flutter doctor – Android licenses status unknown

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)

Flutter doctor display
Flutter doctor –android-licences display

Solution

Go to Android Studio and display settings for Android SDK.
Install “Android SDK Command-line Tools”

Android Studio settings

Flutter doctor –android-licenses
All SDK package licenses accepted.======] 100% Computing updates…

About

Informatics - my job & my passion.