Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to lookup symbol (undefined symbol: sp_list_ports) #5

Open
lauwen opened this issue Sep 30, 2020 · 2 comments
Open

Failed to lookup symbol (undefined symbol: sp_list_ports) #5

lauwen opened this issue Sep 30, 2020 · 2 comments

Comments

@lauwen
Copy link

lauwen commented Sep 30, 2020

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

@jpnurmi
Copy link
Owner

jpnurmi commented Sep 30, 2020

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: #3

@lauwen
Copy link
Author

lauwen commented Sep 30, 2020

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants