Java Question Error compiling UsbSerial


Active Member
Licensed User
Longtime User
Good morning,

i am trying to compile the original UsbSerial library but i get this erro

Starting step: Compiling Java code.
javac 1.8.0_171
C:\Android\SLC\UsbSerial\src\anywheresoftware\b4a\objects\ error: method open in interface UsbSerialPort cannot be applied to given types;
  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\ uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error




Active Member
Licensed User
Longtime User
Completed successfully.
*** Non dimenticare di aggiornare l'elenco delle librerie nell'IDE (fai clic con il pulsante destro del mouse e scegli Aggiorna) ***

now try to create a custom Driver for one of my tools

Thank you Agraham