10000 d · Issue #163435 · flutter/flutter · GitHub
[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

d #163435

Closed
TheDarkArtist opened this issue Feb 16, 2025 · 0 comments
Closed

d #163435

TheDarkArtist opened this issue Feb 16, 2025 · 0 comments

Comments

@TheDarkArtist
Copy link
TheDarkArtist commented Feb 16, 2025

Command

flutter run

Steps to Reproduce

  1. Run the app in terminal ( arch based environment )
  2. try to open flutter dev tools by pressing v

and there it is

Logs

ProcessException: No such file or directory Command: google-chrome, OS error code: 2

#0      _ProcessImpl._start (dart:io-patch/process_patch.dart:422:33)
#1      Process.start (dart:io-patch/process_patch.dart:42:20)
#2      Chrome._startProcess (package:browser_launcher/src/chrome.dart:177:26)
#3      Chrome.start (package:browser_launcher/src/chrome.dart:170:13)
#4      FlutterResidentDevtoolsHandler._launchDevToolsForDevices (package:flutter_tools/src/resident_devtools_handler.dart:191:24)
#5      FlutterResidentDevtoolsHandler.launchDevToolsInBrowser (package:flutter_tools/src/resident_devtools_handler.dart:173:7)
#6      TerminalHandler._commonTerminalInputHandler (package:flutter_tools/src/resident_runner.dart:1766:56)
#7      TerminalHandler.processTerminalInput (package:flutter_tools/src/resident_runner.dart:1786:13)
#8      _rootRunUnary (dart:async/zone.dart:1538:47)
#9      _CustomZone.runUnary (dart:async/zone.dart:1429:19)
#10     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329:7)
#11     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381:11)
#12     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:312:7)
#13     _SyncBroadcastStreamController._sendData (dart:async/broadcast_stream_controller.dart:389:25)
#14     _BroadcastStreamController.add (dart:async/broadcast_stream_controller.dart:257:5)
#15     _AsBroadcastStreamController.add (dart:async/broadcast_stream_controller.dart:492:11)
#16     _rootRunUnary (dart:async/zone.dart:1538:47)
#17     _CustomZone.runUnary (dart:async/zone.dart:1429:19)
#18     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329:7)
#19     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381:11)
#20     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:312:7)
#21     _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:67:11)
#22     _EventSinkWrapper.add (dart:async/stream_transformers.dart:13:11)
#23     _StringAdapterSink.add (dart:convert/string_conversion.dart:228:11)
#24     _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:233:7)
�[32m[✓]�[39m Flutter (Channel stable, 3.29.0, on Arch Linux 6.12.13-1-lts, locale C.UTF-8) [126ms]
    �[32m•�[39m Flutter version 3.29.0 on channel stable at /home/tda/Development/flutter
    �[32m•�[39m Upstream repository https://github.com/flutter/flutter.git
    �[32m•�[39m Framework revision 35c388afb5 (6 days ago), 2025-02-10 12:48:41 -0800
    �[32m•�[39m Engine revision f73bfc4522
    �[32m•�[39m Dart version 3.7.0
    �[32m•�[39m DevTools version 2.42.2

�[31m[✗]�[39m Android toolchain - develop for Android devices [92ms]
    �[31m✗�[39m 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/to/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.


�[31m[✗]�[39m Chrome - develop for the web (Cannot find Chrome executable at google-chrome) [88ms]
    �[33m!�[39m Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

�[32m[✓]�[39m Linux toolchain - develop for Linux desktop [174ms]
    �[32m•�[39m clang version 19.1.7
    �[32m•�[39m cmake version 3.31.5
    �[32m•�[39m ninja version 1.12.1
    �[32m•�[39m pkg-config version 2.3.0

�[32m[✓]�[39m Android Studio (version 2024.2) [86ms]
    �[32m•�[39m Android Studio at /opt/android-studio
    �[32m•�[39m Flutter plugin version 83.0.3
    �[32m•�[39m Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    �[32m•�[39m Java version OpenJDK Runtime Environment (build 21.0.5+-12932927-b750.29)

�[32m[✓]�[39m Connected device (1 available) [9ms]
    �[32m•�[39m Linux (desktop) • linux • linux-x64 • Arch Linux 6.12.13-1-lts

�[32m[✓]�[39m Network resources [560ms]
    �[32m•�[39m All expected network resources are available.

�[33m!�[39m Doctor found issues in 2 categories.

Flutter Application Metadata

Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: 35c388a

Plugins

network_info_plus-6.1.3
path_provider-2.1.5
path_provider_android-2.2.15
path_provider_foundation-2.4.1
path_provider_linux-2.2.1
path_provider_windows-2.3.0

@TheDarkArtist TheDarkArtist changed the title [tool_crash] ProcessException: No such file or directory Command: google-chrome, OS error code: 2 d Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0