Android-Serialport
Android-Serialport copied to clipboard
SerialPort Class
When I use the SerialPort class, the command /system/bin/su is executed, which throws the following exception: java.io.IOException: Cannot run program "/system/bin/su": error=2, No such file or directory
I noticed that on my device, su is located in /system/xbin/. Because of this, I am unable to establish a connection.
Can the command be changed via a static variable in the SerialPort class?