Skip to content

[Flutter doctor] Does not show connected devices and installed IDEs on Apple Silicon M1 Pro SoC with Linux 5.17-asahi #99333

@TheOneWithTheBraid

Description

@TheOneWithTheBraid

On Linux aarch64, Flutter refuses to detect the Android devices connected to the host.

Steps to Reproduce

  1. install Flutter (e.g. from dev channel)
  2. install Android SDK (in my case on Debian via package manager)
  3. adb devices
  4. flutter doctor -v and see no android devices

Running on Apple Silicon M1 Pro SoC with Linux 5.17-asahi.

Logs

Logs
 flutter doctor -vv
[  +69 ms] executing: uname -m
[  +34 ms] Exit code 0 from: uname -m
[        ] aarch64
[   +6 ms] executing: [/opt/flutter/] git -c log.showSignature=false log -n 1
--pretty=format:%H
[  +13 ms] Exit code 0 from: git -c log.showSignature=false log -n 1
--pretty=format:%H
[        ] b101bfe32f634566e7cb2791a9efe19cf8828b15
[        ] executing: [/opt/flutter/] git tag --points-at
b101bfe32f634566e7cb2791a9efe19cf8828b15
[  +14 ms] Exit code 0 from: git tag --points-at
b101bfe32f634566e7cb2791a9efe19cf8828b15
[        ] 2.11.0-0.1.pre
[   +6 ms] executing: [/opt/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +2 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[        ] executing: [/opt/flutter/] git ls-remote --get-url origin
[   +2 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +47 ms] executing: [/opt/flutter/] git rev-parse --abbrev-ref HEAD
[   +2 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[  +31 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping
update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required,
skipping update.
[  +29 ms] Artifact Instance of 'MaterialFonts' is not required, skipping
update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping
update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping
update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required,
skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'PubDependencies' is not required, skipping
update.
[  +36 ms] executing: [/opt/flutter/] git rev-parse --abbrev-ref HEAD
[   +2 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[        ] Skipping request to fetchTags - on well known channel beta.
[        ] executing: [/opt/flutter/] git tag --points-at HEAD
[  +21 ms] Exit code 0 from: git tag --points-at HEAD
[        ] 2.11.0-0.1.pre
[   +2 ms] executing: /opt/android-studio/jre/bin/java -version
[  +53 ms] Exit code 0 from: /opt/android-studio/jre/bin/java -version
[        ] openjdk version "11.0.14" 2022-01-18
           OpenJDK Runtime Environment (build 11.0.14+9-post-Debian-1)
           OpenJDK 64-Bit Server VM (build 11.0.14+9-post-Debian-1, mixed mode)
[   +9 ms] executing: [/opt/flutter/] git -c log.showSignature=false log -n 1
--pretty=format:%ar
[   +5 ms] Exit code 0 from: git -c log.showSignature=false log -n 1
--pretty=format:%ar
[        ] 13 days ago
[  +37 ms] [✓] Flutter (Channel beta, 2.11.0-0.1.pre, on Debian GNU/Linux
bookworm/sid
               5.17.0-rc4-asahi-next-20220217-g501bccfe4c2d-dirty, locale
en_US.UTF-8)
[   +1 ms]     • Flutter version 2.11.0-0.1.pre at /opt/flutter
[        ]     • Upstream repository https://github.com/flutter/flutter.git
[        ]     • Framework revision b101bfe32f (13 days ago), 2022-02-16
07:36:54 -0800
[        ]     • Engine revision e355993572
[        ]     • Dart version 2.17.0 (build 2.17.0-69.2.beta)
[        ]     • DevTools version 2.10.0-dev.1
[        ] [✗] Chrome - develop for the web (Cannot find Chrome executable at
               google-chrome)
[        ]     ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome
executable.
[  +65 ms] [✓] Linux toolchain - develop for Linux desktop
[        ]     • Debian clang version 13.0.1-3
[        ]     • cmake version 3.22.1
[        ]     • ninja version 1.10.1
[        ]     • pkg-config version 0.29.2
[        ] [!] Flutter IDE Support (No supported IDEs installed)
[        ]     • IntelliJ - https://www.jetbrains.com/idea/
[        ]     • Android Studio - https://developer.android.com/studio/
[   +2 ms]     • VS Code - https://code.visualstudio.com/
[        ] [✓] Connected device (1 available)
[        ]     • Linux (desktop) • linux • linux-arm64 • Debian GNU/Linux
bookworm/sid
                 5.17.0-rc4-asahi-next-20220217-g501bccfe4c2d-dirty
[+2226 ms] [✓] HTTP Host Availability
[        ]     • All required HTTP hosts are available
[        ] ! Doctor found issues in 2 categories.
[   +5 ms] "flutter doctor" took 2,525ms.
[   +2 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 0
 file /opt/android-studio/jre
/opt/android-studio/jre: symbolic link to /usr/lib/jvm/java-11-openjdk-arm64
 echo $ANDROID_HOME
/lib/android-sdk
 echo $JAVA_HOME
/usr/lib/jvm/java-11-openjdk-arm64
 uname -r
5.17.0-rc4-asahi-next-20220217-g501bccfe4c2d-dirty

Metadata

Metadata

Assignees

No one assigned

    Labels

    platform-host-armBuilding on an ARM-based platformplatform-linuxBuilding on or for Linux specificallyt: 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