0

I'm having difficulties implementing serial communication in .NET MAUI 7. I have confirmed that the project at Xamarin.Android.SerialPort works properly. However, it does not work in my project.

I get an error at [new SerialPort.SerialPortWrapper.SerialPort].

errorCapture

1

How can I add the libserial.so file to my project APK? It's too difficult. Please help.

I have added the open source project from the link to my project, but it does not work.

vimuth
  • 5,064
  • 33
  • 79
  • 116
dabi
  • 1
  • 1
  • According to the description of the log: the CPU architecture of the device is arm64-v8a, but "libserial.so" is not found under the /lib/arm64-v8a path. What is your libserial.so file store path? You can refer to these links: [Android ABIs | Android NDK | Android Developers](https://developer.android.com/ndk/guides/abis) and [android - How to include existing C++ libraries per platform in MAUI project?](https://stackoverflow.com/questions/73500511/how-to-include-existing-c-libraries-per-platform-in-maui-project). – Ai Zhang-MSFT Feb 09 '23 at 06:17

0 Answers0