Flutter plugin not installed error;. When running flutter doctor

前端 未结 22 1718
渐次进展
渐次进展 2020-11-28 11:07

I am configuring Flutter SDK on my Linux Ubuntu 16.4 system. Why am I getting the following error when I run the flutter doctor? I have specified b

22条回答
  •  無奈伤痛
    2020-11-28 11:26

    LINUX USERS: I cd'd into my home directory then I added
    export PATH="$PATH:/home/frodo/flutter/bin/flutter" in .bashrc file and sourceed it to refresh the .bashrc . Depends on where you moved your flutter sdk.

    Then I run `flutter doctor`. I got the following results:

    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)
    [✓] IntelliJ IDEA Community Edition (version 2018.2)
    [!] VS Code (version 1.25.1)
    [!] Connected devices
        ! No devices available
    

    To export flutter path permanently :


    export PATH="$PATH:/path/to/dir" in the .bashrc

    For example:
    export PATH="$PATH:/home/frodo/flutter/bin/flutter"

    And run:

    source .bashrc

    How to permanently set $PATH on LINUX/UNIX

提交回复
热议问题