You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been using the read without the length of the UsbSerialPort, ie. port.read(buffer, 10), and I've been able to read back the data I expect. However, when I change the read to use the length as well, ie. port.read(buffer,12, 10), the build fails with the error:
error: method read in interface UsbSerialPort cannot be applied to given types;
The dependency I'm using in my build.gradle is 'com.github.mik3y:usb-serial-for-android:3.8.0'. I also import jitpack.io as mentioned in the read me. Any help would be appreciated.
The text was updated successfully, but these errors were encountered:
I've been using the read without the length of the UsbSerialPort, ie. port.read(buffer, 10), and I've been able to read back the data I expect. However, when I change the read to use the length as well, ie. port.read(buffer,12, 10), the build fails with the error:
error: method read in interface UsbSerialPort cannot be applied to given types;
The dependency I'm using in my build.gradle is 'com.github.mik3y:usb-serial-for-android:3.8.0'. I also import jitpack.io as mentioned in the read me. Any help would be appreciated.
The text was updated successfully, but these errors were encountered: