flatpakからChromeブラウザを導入していると flutter doctor
でChomeが見つけられないと言われます。以下の指定方法を設定します。
❯❯❯ export CHROME_EXECUTABLE=/home/hogehoge/.local/share/flatpak/exports/bin/com.google.Chrome
❯❯❯ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 3.8.0-15.0.pre.19, on Pop!_OS 22.04 LTS 6.1.11-76060111-generic, locale ja_JP.UTF-8)
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
`flutter config --android-sdk` to update to that location.
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (not installed)
[✓] VS Code (version 1.75.1)
[✓] Connected device (2 available)
[✓] Network resources
flatpakがわかっていると当たり前(?)なのかもしれませんが結構ぐぐっても出てこずしばし悩みましたので共有しておきます。