flutter-intellij icon indicating copy to clipboard operation
flutter-intellij copied to clipboard

Web/Chrome Target not available on linux

Open Binozo opened this issue 1 year ago • 0 comments

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!

Binozo avatar Feb 08 '24 17:02 Binozo