【发布时间】:2020-08-16 04:16:55
【问题描述】:
[我已经安装了几次。][2] enter image description here
【问题讨论】:
[我已经安装了几次。][2] enter image description here
【问题讨论】:
查看图片后https://i.stack.imgur.com/I38jR.png 我认为您的路径设置不正确。 为此,您应该运行命令
flutter config --android-studio-dir <path of your android studio directoy>
这里
/usr/local/android-studio
或者其他取决于您安装 android studio 的方式。 同样,对于 android studio SDK,您可以运行
flutter config --android-sdk <path of your Android sdk directoy>
附: 您可能面临的下一个错误很可能是插件。所以在配置路径后重新运行颤振医生。这个错误可以通过在android studio中安装插件来解决。
【讨论】: