When I have run this command
flutter doctor --android-licenses
I got this error
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema
at com.android.repository.api.SchemaModule$SchemaModuleVersion.<init>(SchemaModule.java:156)
Do anyone has an idea about this problem , I have googled it and stackoverflowed it but without any result. Thanks in advance
Make sure you have Installed Flutter properly and updated to latest, And run
flutter doctor -v
check stats If that does not work install flutter again, Check tutorial for help for your Environment