Flutter 安装报错
按照提示输入 flutter doctor --android-licenses
报错 Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema
解决办法:
- 打开Android Studio - SDK Manager - SDK Tools
- 勾选Android SDK Command-line Tools(latest)
- 点击“ok”
再次输入 flutter doctor --android-licenses
一路y
问题解决