libserialport.dart
libserialport.dart copied to clipboard
Failed to lookup symbol (undefined symbol: sp_list_ports)
Invalid argument(s): Failed to lookup symbol (undefined symbol: sp_list_ports) when try to use this lib in flutter android app?
Can you try with flutter_serial_port
in pubspec.yaml?
dependencies:
flutter_serial_port:
git: git://github.com/jpnurmi/flutter_serial_port.git
It will automatically build and deploy libserialport.so
as appropriate.
P.S. I'm not sure what kind of hardware you have, but on Android, you're also likely face issues with permissions. There's some ongoing discussion and tips at: https://github.com/jpnurmi/dart_serial_port/issues/3
I try with
but it still
keep the issue open, I will discuss it after my eight-day holiday is over, Thanks!Have a good day!