flutter / flutter/flutter-intellij

Web/Chrome Target not available on linux

Open
#7,209 1 comment 1 reaction 0 assignees View on GitHub
P2
Dominant language
Java
Stars
2k
Forks
356
Avg merge
1d 11h
Merged PRs (30d)
27

Description

## Steps to Reproduce

Hello 👋
I am currently developing a Flutter Web application on my Garuda Linux machine
```
$ uname -a
Linux workstation 6.7.3-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Thu, 01 Feb 2024 10:30:25 +0000 x86_64 GNU/Linux
```

I've created a fresh project for support for android, iOS and web.
But sadly in the Device selection dropdown there is only `Linux (Desktop)` available.

It seems that there is a problem checking for Chrome as a target. On my Windows machine the Chrome target shows up and is working without problems.

## Version info

```
[✓] Flutter (Channel stable, 3.16.9, on Garuda Linux 6.7.3-zen1-1-zen, locale en_US.UTF-8)
• Flutter version 3.16.9 on channel stable at /home/noah/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 41456452f2 (2 weeks ago), 2024-01-25 10:06:23 -0800
• Engine revision f40e976bed
• Dart version 3.2.6
• DevTools version 2.28.5

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /home/noah/Android/Sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: /run/media/noah/Programme/JetBrains/android-studio/jbr/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.9-11255266)
• All Android licenses accepted.

[✓] Chrome - develop for the web
• CHROME_EXECUTABLE = /usr/bin/google-chrome-stable

[✓] Linux toolchain - develop for Linux desktop
• clang version 16.0.6
• cmake version 3.28.2
• ninja version 1.11.1
• pkg-config version 2.1.0

[✓] Android Studio (version 2023.3)
• Android Studio at /run/media/noah/Programme/JetBrains/android-studio
• Flutter plugin version 77.3.1
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.9-11255266)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.3)
• IntelliJ at /run/media/noah/Programme/JetBrains/intellij-idea-ultimate-5
• Flutter plugin version 77.3.1
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] Connected device (2 available)
• Linux (desktop) • linux • linux-x64 • Garuda Linux 6.7.3-zen1-1-zen
• Chrome (web) • chrome • web-javascript • Google Chrome 121.0.6167.139

[✓] Network resources
• All expected network resources are available.

• No issues found!
```

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Start by reproducing the reported setup and compare the IDE device selection dropdown with the connected-device output, then trace the Linux Chrome-target detection; done means Chrome appears as a selectable Web target on Linux.

Written by the indexing model from the issue text.

Assessment

Tech stack
flutter, java
Domain
tooling, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.