Android error libsdl2.so failed to load


#1

when tested the app on galaxy 2 with android api 16 i get the following popup error

Error: Cannot load library:
link_image[1892]: 1853 could
not load needed library
‘libhidapi.so’ for ‘libSDL2.so’
(load_binary[1094]: Library
‘libhidapi.so’ no found)

on newer devices it works
the ibhidapi.so is in the apk
the build gradle in the android project state that min api is 14 so it should work?


#2

Second that. I had to disable its loading in SDLActivity.java

So much trouble for frankly not so much functionality. Why it (hidapi) can’t be statically linked?