[英]Flutter plugin not installed; this adds Flutter specific functionality. #Android Studio not found at /path/to/android/studio
facing problem to setup android studio for a flutter.面临为 flutter 设置 android 工作室的问题。 (Flutter plugin not installed; this adds Flutter specific functionality).
(未安装 Flutter 插件;这增加了 Flutter 特定功能)。 I already installed flutter plugins
我已经安装了 flutter 插件
[I have installed a couple of time.][2] enter image description here [我已经安装了几次。][2]在此处输入图像描述
after viewing the image https://i.stack.imgur.com/I38jR.png I think your paths are not set correctly.查看图像https://i.stack.imgur.com/I38jR.png后,我认为您的路径设置不正确。 For this, you should run the command
为此,您应该运行命令
flutter config --android-studio-dir <path of your android studio directoy>
here <path of your directory looks something like this <path of your directory 看起来像这样
/usr/local/android-studio
or maybe something else depending on the way you have installed android studio.或者可能是其他东西,具体取决于您安装 android studio 的方式。 Similarly, for android studio SDK you can run
同样,对于 android studio SDK 你可以运行
flutter config --android-sdk <path of your Android sdk directoy>
PS Most probably the next error you might face is the plugins. PS 您可能面临的下一个错误很可能是插件。 So after configuring the paths rerun flutter doctor.
因此,在配置路径后重新运行 flutter 医生。 That error can be solved by installing the plugins in android studio.
该错误可以通过在 android studio 中安装插件来解决。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.