Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

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

ubuntu - Android Studio flutter and dart plugins not recognized by flutter doctor , but plugins are installed

I am trying to install flutter on ubuntu , android studio flutter and dart plugins have been installed , but flutter doctor said that they are not installed. At the beginning flutter doctor didn't find my android studio and sdk even if they are installed, then fixed this problems by configuring custom directories for android studio and sdk with this commands : flutter config --android-studio-dir=/my/local/path/for/android/studio flutter config --android-sdk=/my/local/path/for/sdk but couldn't find any solution how to show android studio installed plugins directory for flutter doctor

```
[?] Flutter (Channel beta, v0.7.3, on Linux, locale en_US.UTF-8)
    ? Flutter version 0.7.3 at /home/zayniddin/flutter
    ? Framework revision 3b309bda07 (2 weeks ago), 2018-08-28 12:39:24 -0700
    ? Engine revision af42b6dc95
    ? Dart version 2.1.0-dev.1.0.flutter-ccb16f7282

[?] Android toolchain - develop for Android devices (Android SDK 28.0.2)
    ? Android SDK at /home/zayniddin/Documents/Sdk
    ? Android NDK location not configured (optional; useful for native profiling support)
    ? Platform android-28, build-tools 28.0.2
    ? Java binary at: /home/zayniddin/Documents/android-studio/jre/bin/java
    ? Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    ? All Android licenses accepted.

[?] Android Studio
    ? Android Studio at /home/zayniddin/Documents/android-studio
    ? Flutter plugin not installed; this adds Flutter specific functionality.
    ? Dart plugin not installed; this adds Dart specific functionality.
    ? android-studio-dir = /home/zayniddin/Documents/android-studio
    ? Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[?] IntelliJ IDEA Community Edition (version 2018.2)
    ? IntelliJ at /snap/intellij-idea-community/77
    ? Flutter plugin version 28.0.4
    ? Dart plugin version 182.4323.44

[?] VS Code (version 1.27.1)
    ? VS Code at /usr/share/code
    ? Flutter extension version 2.18.0

[!] Connected devices
    ! No devices available

! Doctor found issues in 1 category.

```

any solutions ?, please help me

See Question&Answers more detail:os

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

1 Answer

0 votes
by (71.8m points)

change channel master to dev. then upgrade.

flutter channel dev
flutter channel upgrade

try again

flutter doctor

Note: I think it's Android Studio 4.1 issue...


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...