Repository navigation
Closed
Labels
found in release: 3.13Found to occur in 3.13Found to occur in 3.13found in release: 3.16Found to occur in 3.16Found to occur in 3.16has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-linuxBuilding on or for Linux specificallyBuilding on or for Linux specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versiont: flutter doctorProblem related to the "flutter doctor" toolProblem related to the "flutter doctor" toolteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
Is there an existing issue for this?
- I have searched the existing issues
- I have read the guide to filing a bug
Steps to reproduce
- Install VS Code or VS Code Insiders via Flatpak from Flathub
1.5. If needed setup Flatpak and Flathub repo for your distro first. - execute
flutter doctor -v. - Observe both VS Code or VS Code Insiders installed via Flatpak not showing up.
I'd like to be assigned to this issue and fix it. :)
Expected results
VS Code and VS Code Insiders installed via Flatpak being picked up by flutter_tools and shown in the output of the flutter doctor command.
Actual results
VS Code and VS Code Insiders installed via Flatpak is not being picked up by the flutter_tools and is missing from the output of the flutter doctor command.
Code sample
Code sample
[Paste your code here]Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]Flutter Doctor output
Doctor output
Building flutter tool...
Resolving dependencies... (2.6s)
Got dependencies.
• Framework revision 27bc1cf61a (87 minutes ago), 2023-10-23 19:25:23 -0400
• Engine revision 0bd703132c
• Dart version 3.3.0 (build 3.3.0-53.0.dev)
• DevTools version 2.28.1
• If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /home/aresminos/Android/Sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: /snap/android-studio/128/android-studio/jbr/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at google-chrome
[✓] Linux toolchain - develop for Linux desktop
• Ubuntu clang version 14.0.0-1ubuntu1.1
• cmake version 3.22.1
• ninja version 1.10.1
• pkg-config version 0.29.2
[✓] Android Studio (version 2022.3)
• Android Studio at /snap/android-studio/128/android-studio
• Flutter plugin version 75.1.2
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
[✓] Connected device (2 available)
• Linux (desktop) • linux • linux-x64 • Ubuntu 22.04.3 LTS 6.2.0-35-generic
• Chrome (web) • chrome • web-javascript • Google Chrome 118.0.5993.88
[✓] Network resources
• All expected network resources are available.Reacted by Chardinson Ventura
Metadata
Metadata
Assignees
Labels
found in release: 3.13Found to occur in 3.13Found to occur in 3.13found in release: 3.16Found to occur in 3.16Found to occur in 3.16has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-linuxBuilding on or for Linux specificallyBuilding on or for Linux specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versiont: flutter doctorProblem related to the "flutter doctor" toolProblem related to the "flutter doctor" toolteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Activity
huycozy commentedon Oct 24, 2023
Thanks for filing the issue. I can reproduce this as well.
VS Code path on system:
flutter doctor -v (stable & master)
[✓] Flutter (Channel stable, 3.13.8, on Ubuntu 22.04.3 LTS 6.2.0-34-generic, locale en_US.UTF-8) • Flutter version 3.13.8 on channel stable at /home/huynq/Documents/Working/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 6c4930c4ac (6 days ago), 2023-10-18 10:57:55 -0500 • Engine revision 767d8c75e8 • Dart version 3.1.4 • DevTools version 2.25.0 [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0-rc3) • Android SDK at /home/huynq/Android/Sdk/ • Platform android-33, build-tools 34.0.0-rc3 • Java binary at: /home/huynq/Documents/android-studio/jre/bin/java • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822) • All Android licenses accepted. [✓] Chrome - develop for the web • Chrome at google-chrome [✓] Linux toolchain - develop for Linux desktop • clang version 10.0.0-4ubuntu1 • cmake version 3.22.1 • ninja version 1.10.1 • pkg-config version 0.29.2 [✓] Android Studio (version 2021.1) • Android Studio at /home/huynq/Documents/android-studio/ • Flutter plugin version 67.0.1 • Dart plugin version 211.7817 • android-studio-dir = /home/huynq/Documents/android-studio/ • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822) [✓] Connected device (2 available) • Linux (desktop) • linux • linux-x64 • Ubuntu 22.04.3 LTS 6.2.0-34-generic • Chrome (web) • chrome • web-javascript • Google Chrome 118.0.5993.70 [✓] Network resources • All expected network resources are available. • No issues found!KristijanZic commentedon Oct 24, 2023
Thanks for confirming it!
That's a path to the app container and won't work if implemented in flutter_tools.
This is the path to the app inside it:
I'd like to be assigned this issue too. :)
Added support for vscode and vscode-insiders installed via Flatpak (#…
github-actions commentedon Dec 19, 2023
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 -vand a minimal reproduction of the issue.