Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
390 views
in Technique[技术] by (71.8m points)

android studio - Flutter plugin not installed error; When running 'flutter doctor'

I am configuring the Flutter SDK on my Linux Ubuntu?16.04 (Xenial Xerus) system. Why am I getting the following error when I run the flutter doctor?

I have specified both PATHS for flutter and dart in the .bashrc file, but I get this error when I run flutter doctor:

Doctor summary (to see all details, run flutter doctor -v):
[?] Flutter (Channel beta, v0.5.1, on Linux, locale en_US.UTF-8)
[?] Android toolchain - develop for Android devices (Android SDK 28.0.2)
[?] Android Studio (version 3.1)
    ? Flutter plugin not installed; this adds Flutter specific functionality.
    ? Dart plugin not installed; this adds Dart specific functionality.
[?] IntelliJ IDEA Community Edition (version 2018.2)
[!] VS Code (version 1.25.1)
[!] Connected devices
    ! No devices available

! Doctor found issues in 2 categories.
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Safe fix for Mac (Android Studio 4.1+). It is in a different directory now, but the symbolic link helps.

Just run this command in the Terminal:

ln -s ~/Library/Application Support/Google/AndroidStudio4.1/plugins ~/Library/Application Support/AndroidStudio4.1

If you have a different Android Studio version or an installation folder, adjust the command accordingly.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...