Android app “Device or resource busy” when accessing USB device via JNA
问题 In making use of JNA in an Android app, I encounter a LastErrorException with the message Device or resource busy when I attempt to perform an ioctl operation on a USB device. I cannot guess why this is or what to do about it. Can anyone offer any guidance at all? I am in fact using a 3rd-party snippet, whose source is viewable here. The error I get reads as follows: E/AndroidRuntime: FATAL EXCEPTION: Thread-556 Process: edu.ucdavis.auditoryenhancer, PID: 31335 com.sun.jna.LastErrorException: