Unable to get pytorch 1.9 working on Android, couldn't find "libpytorch_jni.so"

I figured out. it’s not caching issue. Module.load is still available in Java API even I only use android_lite in gradle. And in this case, if I use Module.load instead of LiteModuleLoader.load, I would get the libpytorch_jni.so error

1 Like