설치되었지만 flutter doctor가 Intellij IDEA의 flutter plugin을 인식하지 못함


  • Intellij에서 flutter plugin을 설치했습니다
  • flutter doctor가 Intellij IDEA의 flutter plugin을 인식하지 못합니다.
  • Intellij는 flutter plugin을 인식합니다.
  • JetBrains Toolbox에서 Intellij 제거 및 재설치
  • Intellij의 Plugin 디렉토리가 변경되어 flutter doctor

    flutter doctor가 flutter plugin을 인식하지 못함


    > flutter doctor -v
    [✓] Flutter (Channel unknown, v1.9.1+hotfix.6, on Mac OS X 10.15.3 19D76, locale ja-JP)
        • Flutter version 1.9.1+hotfix.6 at /Users/XXXXX/bin/flutter
        • Framework revision 68587a0916 (7 months ago), 2019-09-13 19:46:58 -0700
        • Engine revision b863200c37
        • Dart version 2.5.0
    [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
        • Android SDK at /Users/XXXXX/Library/Android/sdk
        • Android NDK location not configured (optional; useful for native profiling support)
        • Platform android-29, build-tools 29.0.2
        • Java binary at: /Users/XXXXX/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/192.6308749/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
        • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
        • All Android licenses accepted.
    [✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
        • Xcode at /Applications/Xcode.app/Contents/Developer
        • Xcode 11.3.1, Build version 11C505
        • CocoaPods version 1.9.1
    [✓] Android Studio (version 3.6)
        • Android Studio at /Users/XXXXX/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/192.6308749/Android Studio.app/Contents
        • Flutter plugin version 44.0.2
        • Dart plugin version 192.7761
        • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    [!] IntelliJ IDEA Ultimate Edition (version 2019.3.4)
        • IntelliJ at /Users/XXXXX/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
        ✗ Flutter plugin not installed; this adds Flutter specific functionality.
        ✗ Dart plugin not installed; this adds Dart specific functionality.
        • For information about installing plugins, see
          https://flutter.dev/intellij-setup/#installing-the-plugins
    [✓] Connected device (3 available)
        • Android SDK built for x86 • emulator-5554                        • android-x86 • Android 10 (API 29) (emulator)
        • iPad                      • XXXXXXXXXXXXXXXXXXXXXXXXX            • ios         • iOS 13.4
        • iPhone 11 Pro Max         • 074F50B0-2FE3-4340-BCEF-DDA52C1FF9D5 • ios         • com.apple.CoreSimulator.SimRuntime.iOS-13-3 (simulator)
    ! Doctor found issues in 1 category.
    

    Intellij는 flutter plugin을 인식합니다.





    설치 대상 디렉토리는 여기입니까?
    > ll "~/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/193.5233.102/IntelliJ IDEA.app.plugins" | grep -i -e flutter -e dart
    drwxr-xr-x  3 XXXXX  staff    96B Apr  1 12:32 Dart/
    drwxr-xr-x  3 XXXXX  staff    96B Apr  1 12:32 Flutter Intl/
    drwxr-xr-x  3 XXXXX  staff    96B Apr  1 12:32 flutter-intellij/
    drwxr-xr-x  3 XXXXX  staff    96B Apr  1 12:32 flutter-snippets/
    

    Intellij의 Plugin 디렉토리를 명시 적으로 지정했지만 좋지 않았습니다.



  • 고급 구성 - 공식 도움말 | IntelliJ IDEA 을 참고로 설정을 추가해 Plugin 디렉토리를 지정했다
  • Intellij flutter plugin 제거 및 재설치
  • 지정된 Plugin 디렉토리에 flutter plugin이 인스톨 되고 있는 것을 확인했다
  • flutter doctor 는 통과하지 않았다

  • JetBrains Toolbox에서 Intellij 제거 및 재설치





    Intellij의 Plugin 디렉토리가 변경되어 flutter doctor가 통과했습니다.



    플러그인 디렉토리가 변경되었습니다.


    > ll ~/Library/Application\ Support/IntelliJIdea2019.3 | grep -i -e flutter -e dart
    drwxr-xr-x  3 XXXXX  staff    96B  4  2 13:10 Dart/
    drwxr-xr-x  3 XXXXX  staff    96B  4  2 13:10 flutter-intellij/
    

    flutter doctor가 다녔다.


    X flutter doctor
    Doctor summary (to see all details, run flutter doctor -v):
    [✓] Flutter (Channel unknown, v1.9.1+hotfix.6, on Mac OS X 10.15.4 19E266, locale ja-JP)
    [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    [✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    [✓] Android Studio (version 3.6)
    [✓] IntelliJ IDEA Ultimate Edition (version 2019.3.4)
    [!] Connected device
        ! No devices available
    ! Doctor found issues in 1 category.
    

    좋은 웹페이지 즐겨찾기