Hello!
When using Flutter v3.41.1 on Linux (tested on WSL Ubuntu 24.04, and a GH Actions runner running Ubuntu 24.04), the step of activating by running flutter pub global activate flutterpi_tool fails with the following error:
Building package executables... (7.3s)
Failed to build flutterpi_tool:flutterpi_tool:
/home/---/.pub-cache/hosted/pub.dev/flutterpi_tool-0.10.1/lib/src/devices/flutterpi_ssh/device_discovery.dart:55:24: Error: The method 'FlutterpiSshDeviceDiscovery.pollingGetDevices' has fewer named arguments than those of overridden method 'PollingDeviceDiscovery.pollingGetDevices'.
Future<List<Device>> pollingGetDevices({Duration? timeout}) async {
^
/home/---/fluttersdk/flutter/packages/flutter_tools/lib/src/device.dart:489:24: Context: This is the overridden method ('pollingGetDevices').
Future<List<Device>> pollingGetDevices({Duration? timeout, bool forWirelessDiscovery = false});
^
/home/---/.pub-cache/hosted/pub.dev/flutterpi_tool-0.10.1/lib/src/devices/flutterpi_ssh/device_discovery.dart:55:24: Error: The method 'FlutterpiSshDeviceDiscovery.pollingGetDevices' doesn't have the named parameter 'forWirelessDiscovery' of overridden method 'PollingDeviceDiscovery.pollingGetDevices'.
Future<List<Device>> pollingGetDevices({Duration? timeout}) async {
^
/home/----/fluttersdk/flutter/packages/flutter_tools/lib/src/device.dart:489:24: Context: This is the overridden method ('pollingGetDevices').
Future<List<Device>> pollingGetDevices({Duration? timeout, bool forWirelessDiscovery = false});
^
Failed to update packages.
This is reproducible on both WSL Ubuntu 24.04, and by running a Github Action running on Ubuntu 24.04.
Here my output of flutter doctor -v:
[✓] Flutter (Channel stable, 3.41.1, on Ubuntu 24.04.3 LTS 6.6.87.2-microsoft-standard-WSL2, locale C.UTF-8) [38ms]
• Flutter version 3.41.1 on channel stable at /home/----/fluttersdk/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 582a0e7c55 (6 days ago), 2026-02-12 17:12:32 -0800
• Engine revision 3452d735bd
• Dart version 3.11.0
• DevTools version 2.54.1
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios,
cli-animations, enable-native-assets, omit-legacy-version-file, enable-lldb-debugging, enable-uiscene-migration
[✗] Android toolchain - develop for Android devices [29ms]
✗ 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.
[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome) [11ms]
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Linux toolchain - develop for Linux desktop [288ms]
• Ubuntu clang version 18.1.3 (1ubuntu1)
• cmake version 3.28.3
• ninja version 1.11.1
• pkg-config version 1.8.1
• OpenGL core renderer: llvmpipe (LLVM 20.1.2, 256 bits)
• OpenGL core version: 4.5 (Core Profile) Mesa 25.2.8-0ubuntu0.24.04.1
• OpenGL core shading language version: 4.50
• OpenGL ES renderer: llvmpipe (LLVM 20.1.2, 256 bits)
• OpenGL ES version: OpenGL ES 3.2 Mesa 25.2.8-0ubuntu0.24.04.1
• OpenGL ES shading language version: OpenGL ES GLSL ES 3.20
• GL_EXT_framebuffer_blit: yes
• GL_EXT_texture_format_BGRA8888: yes
[✓] Connected device (1 available) [36ms]
• Linux (desktop) • linux • linux-x64 • Ubuntu 24.04.3 LTS 6.6.87.2-microsoft-standard-WSL2
[✓] Network resources [213ms]
• All expected network resources are available.
! Doctor found issues in 2 categories.
Hello!
When using Flutter v3.41.1 on Linux (tested on WSL Ubuntu 24.04, and a GH Actions runner running Ubuntu 24.04), the step of activating by running
flutter pub global activate flutterpi_toolfails with the following error:This is reproducible on both WSL Ubuntu 24.04, and by running a Github Action running on Ubuntu 24.04.
Here my output of
flutter doctor -v: