woodemi / quick.flutter

53 stars 62 forks source link

Throws error LIBUSB_ERROR_NOT_FOUND #45

Open xaldarof opened 2 years ago

xaldarof commented 2 years ago

[ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: getConfigDesc error: LIBUSB_ERROR_NOT_FOUND

0 _QuickUsbDesktop.getConfiguration (package:quick_usb/src/quick_usb_desktop.dart:198:9)

1 QuickUsb.getConfiguration (package:quick_usb/quick_usb.dart:49:17)

2 _PrinterAppState.build.. (package:printer_example/main.dart:207:62)

Sunbreak commented 2 years ago

You'd better try https://github.com/woodemi/libusb.dart

xaldarof commented 2 years ago

You'd better try https://github.com/woodemi/libusb.dart

Is this repository has documentation ?

Sunbreak commented 2 years ago

https://github.com/woodemi/libusb.dart is a simple wrapper of https://github.com/libusb/libusb

You need to learn about libusb's feature to solve above error