Skip to content

Flutter fails to detect plugins when Android Studio is installed via Toolbox #57642

Description

@firephreek

Steps to Reproduce

  1. Install Android Studio using Jetbrains Toolbox on Windows (untested Linux/Mac)
  2. Install Flutter/Dart plugins
  3. Run flutter doctor -v

Notes: The 'system cannot find the path specified' may be an unrelated issue with the flutter.bat file. Currently investigating.

Logs

flutter doctor -v

The system cannot find the path specified.
The system cannot find the path specified.
Building flutter tool...
Running pub upgrade...
The system cannot find the path specified.
[√] Flutter (Channel stable, v1.17.1, on Windows, locale en-US)
    • Flutter version 1.17.1 at D:\dev\sdk\flutter
    • Framework revision f7a6a7906b (7 days ago), 2020-05-12 18:39:00 -0700
    • Engine revision 6bc433c6b6
    • Dart version 2.8.2

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at D:\dev\sdk\Android\sdk
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = D:\dev\sdk\Android\sdk
    • Java binary at: C:\Users\Stryder\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\192.6392135\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
    • All Android licenses accepted.

[!] Android Studio (version 3.6)
    • Android Studio at C:\Users\Stryder\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\192.6392135
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] IntelliJ IDEA Ultimate Edition (version 2019.3)
    • IntelliJ at C:\Users\Stryder\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\193.6911.18
    • Flutter plugin version 42.2.2
    • Dart plugin version 192.7761

[!] Connected device
    ! No devices available

! Doctor found issues in 2 categories.

Activity

  1. changed the title [-]Flutter fails to detect Android Studio Flutter and Dart Plugins[/-] [+]Flutter fails to detect plugins when Android Studio is installed via Toolbox[/+] on May 20, 2020
  2. firephreek commented on May 20, 2020

    @firephreek
    Author

    'The system cannot find the path specified.' messages are unrelated to this issue. Result of leftover 'AutoRun' values in registry from broken uninstall of unrelated application.

  3. added
    toolAffects the "flutter" command-line tool. See also t: labels.
    on May 20, 2020
  4. VladyslavBondarenko commented on May 20, 2020

    @VladyslavBondarenko

    Related to #47583

  5. christopherfujino commented on Jun 16, 2020

    @christopherfujino
    Contributor

    @firephreek was this fixed by https://github.com/flutter/flutter/pull/57963/files? If not, I'm assuming it would be picked up by #58853 (which hasn't landed yet), is that correct?

  6. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Jul 9, 2020
  7. TahaTesser commented on Jul 15, 2020

    @TahaTesser
    Contributor

    Without additional information we are unfortunately not sure how to resolve this issue.
    We are therefore reluctantly going to close this bug for now.
    Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
    Thanks for your contribution.

  8. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Jul 15, 2020
  9. daniel-naegele commented on Aug 13, 2020

    @daniel-naegele

    I am having the same issue here. I have both Android Studio (4.0.1) and IntelliJ Ultimate (2020.2) installed via Jetbrains Toolbox, however only Android Studio gets detected. I can reproduce this issue on my Windows machine.
    Output from flutter doctor -v:

    [✓] Flutter (Channel stable, 1.20.1, on Linux, locale de_DE.UTF-8)
        • Flutter version 1.20.1 at /opt/flutter
        • Framework revision 2ae34518b8 (vor 7 Tagen), 2020-08-05 19:53:19 -0700
        • Engine revision c8e3b94853
        • Dart version 2.9.0
    
    [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
        • Android SDK at /home/daniel/Android/Sdk
        • Platform android-30, build-tools 30.0.1
        • Java binary at: /home/daniel/.local/share/JetBrains/Toolbox/apps/AndroidStudio/ch-0/193.6626763/jre/bin/java
        • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
        • All Android licenses accepted.
    
    [!] Android Studio (version 4.0)
        • Android Studio at /home/daniel/.local/share/JetBrains/Toolbox/apps/AndroidStudio/ch-0/193.6626763
        ✗ Flutter plugin not installed; this adds Flutter specific functionality.
        ✗ Dart plugin not installed; this adds Dart specific functionality.
        • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    
    [!] Connected device
        ! No devices available
    
    ! Doctor found issues in 2 categories.
    
  10. sanket-kumbhare commented on Nov 16, 2020

    @sanket-kumbhare

    I was also having same problem:
    Try this. It sloved my problem

    flutter channel dev
    flutter upgrade

  11. Smart123s commented on Nov 17, 2020

    @Smart123s

    I was also having same problem:
    Try this. It sloved my problem

    flutter channel dev
    flutter upgrade

    I have switched to channel master and it has also solved the problem.
    I am on Ubuntu 20.10 using the snap package for both Flutter and Android Studio.
    Thanks for helping.

  12. felipeolliveira commented on Dec 28, 2020

    @felipeolliveira

    I was also having same problem:
    Try this. It sloved my problem

    flutter channel dev
    flutter upgrade

    This also solved my problem. Thank you for helping! 😄

  13. benibilme commented on Dec 29, 2020

    @benibilme

    I was also having same problem:
    Try this. It sloved my problem

    flutter channel dev
    flutter upgrade

    Solved my problem. Thank you.

  14. github-actions commented on Aug 7, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  15. locked as resolved and limited conversation to collaborators on Aug 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    t: flutter doctorProblem related to the "flutter doctor" tooltoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions