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
Bug description
After following the tutorial on http://usb4java.org/quickstart/libusb.html, I keep getting a ExceptionInInitializerError when calling init(). I tried to use null or this but can't fix it because it needs org.usb4Java.Context which the tutorial didn't describe how to get.
Environment:
Bug description
After following the tutorial on http://usb4java.org/quickstart/libusb.html, I keep getting a ExceptionInInitializerError when calling init(). I tried to use null or this but can't fix it because it needs org.usb4Java.Context which the tutorial didn't describe how to get.
Reproduction
int result = LibUsb.init(null);
implementation 'org.usb4java:usb4java:1.3.0'
implementation 'org.usb4java:libusb4java:1.3.0'
Expected behavior
Be able to initialize usb4java without any error.
The text was updated successfully, but these errors were encountered: