blockset-corp / walletkit

MIT License
80 stars 46 forks source link

Crash "libcorecrypto.so" not found on Pixel 6 Pro, Android 12 #407

Open mindhacker42 opened 3 years ago

mindhacker42 commented 3 years ago

We experienced a crash with WalletKit SDK, using older version of master 7d65484:

Fatal Exception: java.lang.UnsatisfiedLinkError
Unable to load library 'corecrypto': dlopen failed: library "libcorecrypto.so" not found dlopen failed: library "libcorecrypto.so" not found dlopen failed: library "/data/app/~~IOgLs8JXtpFjr1pmHl6F0A==/net.globalid-G5uWj_YYp83ALluBjjceGA==/split_config.arm64_v8a.apk!/lib/arm64-v8a/libcorecrypto.so" not found Native library (android-aarch64/libcorecrypto.so) not found in resource path (.)

Stacktrace:

com.sun.jna.NativeLibrary.loadLibrary (NativeLibrary.java:301)
com.sun.jna.NativeLibrary.getInstance (NativeLibrary.java:461)
com.sun.jna.NativeLibrary.getInstance (NativeLibrary.java:403)
com.breadwallet.corenative.CryptoLibrary.<clinit> (CryptoLibrary.java:30)
com.breadwallet.corenative.CryptoLibraryDirect.<clinit> (CryptoLibraryDirect.java:475)
com.breadwallet.corenative.CryptoLibraryDirect.cryptoAccountCreate (CryptoLibraryDirect.java)
com.breadwallet.corenative.crypto.BRCryptoAccount.createFromPhrase (BRCryptoAccount.java:42)
com.breadwallet.corecrypto.Account.createFromPhrase (Account.java:56)
com.breadwallet.corecrypto.CryptoApiProvider$1.createFromPhrase (CryptoApiProvider.java:35)
com.breadwallet.crypto.Account$-CC.createFromPhrase (Account.java:32)

Environment: Pixel 6 Pro, Android 12