Flutter安装的常见错误

1. android studio not installed

flutter config --android-studio-dir="E:\Android\AndroidStudio" //指定android studio的目录

2. flutter doctor --android-licenses 后Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema
Flutter安装的常见错误_第1张图片

配置JAVA_HOME环境变量

官方安装指导

你可能感兴趣的:(flutter,flutter)