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
I was able to compile my project using this SDK. It created .so files that should be compatible with JNI. But I'm facing a different problem, the android project compiles successfully, but when the java code is trying to load a .so file, I'm getting this error.
java.lang.UnsatisfiedLinkError: dlopen failed: empty/missing DT_HASH/DT_GNU_HASH in "/data/app/~~1ftAMe1LzrCJsXmWFBcigA==/nexus.us.swift_native-7raIURWcYa11TdtF8jLtCg==/base.apk!/lib/arm64-v8a/libdispatch.so" (new hash type from the future?)
Any thoughts on this?
The text was updated successfully, but these errors were encountered:
packagingOptions {
doNotStrip "/arm64-v8a/.so"
doNotStrip "/armeabi-v7a/.so"
doNotStrip "/x86_64/.so"
}
This little snippet in gradle can solve the problem.
Closing this issue.
Thanks
I was able to compile my project using this SDK. It created .so files that should be compatible with JNI. But I'm facing a different problem, the android project compiles successfully, but when the java code is trying to load a .so file, I'm getting this error.
java.lang.UnsatisfiedLinkError: dlopen failed: empty/missing DT_HASH/DT_GNU_HASH in "/data/app/~~1ftAMe1LzrCJsXmWFBcigA==/nexus.us.swift_native-7raIURWcYa11TdtF8jLtCg==/base.apk!/lib/arm64-v8a/libdispatch.so" (new hash type from the future?)
Any thoughts on this?
The text was updated successfully, but these errors were encountered: