Anyone seen something like this? ```java.lang.Unsa...
# kodein
s
Anyone seen something like this?
Copy code
java.lang.UnsatisfiedLinkError: JNI_ERR returned from JNI_OnLoad in "/data/app/com.example.app-jdniY0VewLbnuIGTvtwW7w==/lib/arm64/libkodein-leveldb-jni.so"
Only happens with release build.
s
Can you share a more complete stack trace ?
s
It was happening on
DB.open()
It turned out to be my custom minify (R8) settings, I had
Copy code
postprocessing {
    isRemoveUnusedCode = true
    isRemoveUnusedResources = true
    isObfuscate = false
    isOptimizeCode = true
}
when I switched to
Copy code
isMinifyEnabled = true
everything works fine 🙂