UsbSerial: ArrayIndexOutOfBoundsException From PL2303SerialDevice
Here’s the relevant stacktrace:
Caused by java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
at android.hardware.usb.UsbDevice.getInterface(UsbDevice.java:232)
at com.felhr.usbserial.PL2303SerialDevice.<init>(PL2303SerialDevice.java:54)
at com.felhr.usbserial.UsbSerialDevice.createUsbSerialDevice(UsbSerialDevice.java:76)
at com.felhr.usbserial.UsbSerialDevice.createUsbSerialDevice(UsbSerialDevice.java:58)
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 22 (6 by maintainers)
@eyedol I only know enough about it to know I couldn’t actually get it to work, and if somehow it did work it wouldn’t be nearly robust enough to recommend to anyone else.