libserialport.dart icon indicating copy to clipboard operation
libserialport.dart copied to clipboard

Failed to lookup symbol (undefined symbol: sp_list_ports)

Open lauwen opened this issue 4 years ago • 2 comments

Invalid argument(s): Failed to lookup symbol (undefined symbol: sp_list_ports) when try to use this lib in flutter android app?

lauwen avatar Sep 30 '20 08:09 lauwen

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

jpnurmi avatar Sep 30 '20 08:09 jpnurmi

I try with image but it still image keep the issue open, I will discuss it after my eight-day holiday is over, Thanks!Have a good day!

lauwen avatar Sep 30 '20 09:09 lauwen