-
-
Notifications
You must be signed in to change notification settings - Fork 702
Open
Labels
Description
Describe the bug
im getting this error
MissingPluginException(No implementation found for method listPrinters on channel net.nfet.printing)
To Reproduce
Code snippet to reproduce the behavior:
try {
final systemPrinters = await Printing.listPrinters();
for (final printer in systemPrinters) {
// Add system printers if their names are not already in the list.
if (printerNames.add(printer.name)) {
allPrinters.add(printer);
}
}
} on services.MissingPluginException catch (e) {
// This specific exception is common on desktop if the plugin isn't fully supported or configured.
// We catch it to prevent a crash and inform the user.
debugPrint(
'Could not list system printers (MissingPluginException is common on desktop): $e',
);
_errorDisplayService.addError('Could not load system printers. This feature may not be available on your platform.');
Expected behavior
it should show installed printers in windows desktop app and bluetooth also not working
Flutter Doctor
[✓] Flutter (Channel stable, 3.38.1, on Microsoft Windows [Version 10.0.26200.7171], locale en-IN) [380ms]
• Flutter version 3.38.1 on channel stable at C:\Users\bhara\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision b45fa18946 (6 days ago), 2025-11-12 22:09:06 -0600
• Engine revision b5990e5ccc
• Dart version 3.10.0
• DevTools version 2.51.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
[✓] Windows Version (Windows 11 or higher, 25H2, 2009) [2.3s]
[✓] Android toolchain - develop for Android devices (Android SDK version 36.1.0) [2.6s]
• Android SDK at C:\Users\bhara\AppData\Local\Android\sdk
• Emulator version 36.2.12.0 (build_id 14214601) (CL:N/A)
• Platform android-36, build-tools 36.1.0
• Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
• Java version OpenJDK Runtime Environment (build 21.0.8+-14196175-b1038.72)
• All Android licenses accepted.
[✓] Chrome - develop for the web [127ms]
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[✓] Visual Studio - develop Windows apps (Visual Studio Enterprise 2022 17.14.20) [126ms]
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Enterprise
• Visual Studio Enterprise 2022 version 17.14.36705.20
• Windows 10 SDK version 10.0.26100.0
[✓] Connected device (3 available) [247ms]
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.26200.7171]
• Chrome (web) • chrome • web-javascript • Google Chrome 142.0.7444.163
• Edge (web) • edge • web-javascript • Microsoft Edge 142.0.3595.80
[✓] Network resources [840ms]
• All expected network resources are available.
Desktop (please complete the following information):
- iOS
- Android
- Browser
- [✓] Windows
- Linux