終端執(zhí)行flutter doctor 后報(bào)錯(cuò):
? Flutter plugin not installed; this adds Flutter specific functionality.
? Dart plugin not installed; this adds Dart specific functionality.
如下圖所示
然后我的Android Studio里面dart和flutter插件都是安裝好了的,
我已經(jīng)PATHS為flutter和指定dart了.bashrc文件彼念,但是在運(yùn)行時(shí)出現(xiàn)此錯(cuò)誤flutter doctor:可還是報(bào)錯(cuò)
解決方法:
適用于Mac(Android Studio 4.1+)的安全修復(fù)程序∷嗜現(xiàn)在它在另一個(gè)目錄中噪奄,但是符號(hào)鏈接會(huì)有所幫助躏将。
只需在終端中運(yùn)行以下命令:
ln -s ~/Library/Application\ Support/Google/AndroidStudio4.1/plugins ~/Library/Application\ Support/AndroidStudio4.1
再執(zhí)行flutter doctor 完美解決