How get access to Uart port on Android?

79 Views Asked by At

There is a Raspberry Pi 4 with Lineage OS Android version 10 installed. How can I access the uart port and read/send data?

With the library com.google.android.things the application is not installed, the error INSTALL_FAILED_MISSING_LIBRARY is returned. If I register it in the manifest it doesn't work anyway, a crash of RuntimeException("Stub!") occurs. The SerialUsb library sees 0 available drivers. Trying to read via stream - file not found or permission denied. Even if the application is installed in system/app

0

There are 0 best solutions below