Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

Caused by: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader couldn't find "libconcealcpp.so" #177

Open
DipoAreoye opened this issue Aug 10, 2017 · 2 comments

Comments

@DipoAreoye
Copy link

DipoAreoye commented Aug 10, 2017

Built the project using gradle, having a issue whilst ruinning application

app build.gradle
compile 'com.facebook.conceal:conceal:1.0.4@aar' // and with all other versions
Exception thrown

: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.example.app-2/base.apk"],nativeLibraryDirectories=[/data/app/com.example.app-2/lib/arm64, /system/fake-libs64, /data/app/com.example.app-2/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]] couldn't find "libconcealcpp.so"
com.facebook.crypto.exception.CryptoInitializationException: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.example.app-2/base.apk"],nativeLibraryDirectories=[/data/app/com.example.app-2/lib/arm64, /system/fake-libs64, /data/app/com.example.app-2/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]] couldn't find "libconcealcpp.so"

at com.facebook.crypto.util.SystemNativeCryptoLibrary.ensureCryptoLoaded(SystemNativeCryptoLibrary.java:38)
at com.facebook.cipher.Cipher.encryptTo(Cipher.java:65)
at com.facebook.crypto.Crypto.getCipherOutputStream(Crypto.java:71)
@codesinghanoop
Copy link

Any leads on this issue @DipoAreoye I'm stuck in this.

@zsweigart
Copy link

Seems to make sense, the native .so files I have are libconceal.so not libconcealcpp.so but I don't know where to find the second ones

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants