Good morning,
i am trying to compile the original UsbSerial library but i get this erro
i am trying to compile the original UsbSerial library but i get this erro
B4X:
Starting step: Compiling Java code.
javac 1.8.0_171
C:\Android\SLC\UsbSerial\src\anywheresoftware\b4a\objects\UsbSerial.java:185: error: method open in interface UsbSerialPort cannot be applied to given types;
port.open();
^
required: UsbDeviceConnection
found: no arguments
reason: actual and formal argument lists differ in length
Note: C:\Android\SLC\UsbSerial\src\com\hoho\android\usbserial\driver\CommonUsbSerialPort.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
Error.