You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
I have a simple flutter project that works fine in my Ubuntu system.
But when I run the project in a raspberrypi 4, it shows the below error:
flutter: `quick_usb` threw an error: Invalid argument(s): Failed to load dynamic library '/usr/local/bin/lib/libusb-1.0.23.so': /usr/local/bin/lib/libusb-1.0.23.so: cannot open shared object file: No such file or directory. The app may not function as expected until you remove this plugin from pubspec.yaml
[ERROR:flutter/shell/common/shell.cc(93)] Dart Unhandled Exception: Invalid argument(s): Failed to load dynamic library '/usr/local/bin/lib/libusb-1.0.23.so': /usr/local/bin/lib/libusb-1.0.23.so: cannot open shared object file: No such file or directory, stack trace: #0 _open (dart:ffi-patch/ffi_dynamic_library_patch.dart:12:43)
#1 new DynamicLibrary.open (dart:ffi-patch/ffi_dynamic_library_patch.dart:23:12)
#2 QuickUsbLinux.registerWith (package:quick_usb/src/quick_usb_desktop.dart:35:37)
#3 _PluginRegistrant.register (file:///home/user1/Documents/project/.dart_tool/flutter_build/dart_plugin_registrant.dart:104:23)
also running dpkg -l libusb-1.0* shows the below answer:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-======================-============-============-===================================================
ii libusb-1.0-0:arm64 2:1.0.24-3 arm64 userspace USB programming library
ii libusb-1.0-0-dev:arm64 2:1.0.24-3 arm64 userspace USB programming library development files
ii libusb-1.0-doc 2:1.0.24-3 all documentation for userspace USB programming
How can I solve the problem?
Thanks.
The text was updated successfully, but these errors were encountered:
Hello.
I have a simple flutter project that works fine in my Ubuntu system.
But when I run the project in a raspberrypi 4, it shows the below error:
also running
dpkg -l libusb-1.0*
shows the below answer:How can I solve the problem?
Thanks.
The text was updated successfully, but these errors were encountered: