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
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/facebook/android/crypto/keychain/SharedPrefsBackedKeyChain;
at com.oblador.keychain.cipherStorage.CipherStorageFacebookConceal.(CipherStorageFacebookConceal.java:37)
at com.oblador.keychain.KeychainModule.(KeychainModule.java:143)
at com.oblador.keychain.KeychainModule.withWarming(KeychainModule.java:154)
at com.oblador.keychain.KeychainModuleBuilder.build(KeychainModuleBuilder.java:29)
at com.oblador.keychain.KeychainPackage.createNativeModules(KeychainPackage.java:30)
at com.facebook.react.ReactPackageHelper.getNativeModuleIterator(ReactPackageHelper.java:42)
at com.facebook.react.NativeModuleRegistryBuilder.processPackage(NativeModuleRegistryBuilder.java:42)
at com.facebook.react.ReactInstanceManager.processPackage(ReactInstanceManager.java:1458)
at com.facebook.react.ReactInstanceManager.processPackages(ReactInstanceManager.java:1429)
at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1340)
at com.facebook.react.ReactInstanceManager.access$1200(ReactInstanceManager.java:136)
at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:1108)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.facebook.android.crypto.keychain.SharedPrefsBackedKeyChain" on path: DexPathList[[zip file "/data/app/~~jODA6vghuh0qnveApGNhOQ==/com.appname-kpyauaTbvqQg63xNSR9-GQ==/base.apk"],nativeLibraryDirectories=[/data/app/~~jODA6vghuh0qnveApGNhOQ==/com.appname-kpyauaTbvqQg63xNSR9-GQ==/lib/arm64, /data/app/~~jODA6vghuh0qnveApGNhOQ==/com.appname-kpyauaTbvqQg63xNSR9-GQ==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:259)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at com.oblador.keychain.cipherStorage.CipherStorageFacebookConceal.(CipherStorageFacebookConceal.java:37)
at com.oblador.keychain.KeychainModule.(KeychainModule.java:143)
at com.oblador.keychain.KeychainModule.withWarming(KeychainModule.java:154)
at com.oblador.keychain.KeychainModuleBuilder.build(KeychainModuleBuilder.java:29)
at com.oblador.keychain.KeychainPackage.createNativeModules(KeychainPackage.java:30)
at com.facebook.react.ReactPackageHelper.getNativeModuleIterator(ReactPackageHelper.java:42)
at com.facebook.react.NativeModuleRegistryBuilder.processPackage(NativeModuleRegistryBuilder.java:42)
at com.facebook.react.ReactInstanceManager.processPackage(ReactInstanceManager.java:1458)
at com.facebook.react.ReactInstanceManager.processPackages(ReactInstanceManager.java:1429)
at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1340)
at com.facebook.react.ReactInstanceManager.access$1200(ReactInstanceManager.java:136)
at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:1108)
at java.lang.Thread.run(Thread.java:1012)
The text was updated successfully, but these errors were encountered:
Getting this error in runtime after installing react-native-keychain.
react-native: 0.69.9
gradle: 7.5.5
react-native-keychain: 8.1.1
Android Studio logs
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/facebook/android/crypto/keychain/SharedPrefsBackedKeyChain;
at com.oblador.keychain.cipherStorage.CipherStorageFacebookConceal.(CipherStorageFacebookConceal.java:37)
at com.oblador.keychain.KeychainModule.(KeychainModule.java:143)
at com.oblador.keychain.KeychainModule.withWarming(KeychainModule.java:154)
at com.oblador.keychain.KeychainModuleBuilder.build(KeychainModuleBuilder.java:29)
at com.oblador.keychain.KeychainPackage.createNativeModules(KeychainPackage.java:30)
at com.facebook.react.ReactPackageHelper.getNativeModuleIterator(ReactPackageHelper.java:42)
at com.facebook.react.NativeModuleRegistryBuilder.processPackage(NativeModuleRegistryBuilder.java:42)
at com.facebook.react.ReactInstanceManager.processPackage(ReactInstanceManager.java:1458)
at com.facebook.react.ReactInstanceManager.processPackages(ReactInstanceManager.java:1429)
at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1340)
at com.facebook.react.ReactInstanceManager.access$1200(ReactInstanceManager.java:136)
at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:1108)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.facebook.android.crypto.keychain.SharedPrefsBackedKeyChain" on path: DexPathList[[zip file "/data/app/~~jODA6vghuh0qnveApGNhOQ==/com.appname-kpyauaTbvqQg63xNSR9-GQ==/base.apk"],nativeLibraryDirectories=[/data/app/~~jODA6vghuh0qnveApGNhOQ==/com.appname-kpyauaTbvqQg63xNSR9-GQ==/lib/arm64, /data/app/~~jODA6vghuh0qnveApGNhOQ==/com.appname-kpyauaTbvqQg63xNSR9-GQ==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:259)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at com.oblador.keychain.cipherStorage.CipherStorageFacebookConceal.(CipherStorageFacebookConceal.java:37)
at com.oblador.keychain.KeychainModule.(KeychainModule.java:143)
at com.oblador.keychain.KeychainModule.withWarming(KeychainModule.java:154)
at com.oblador.keychain.KeychainModuleBuilder.build(KeychainModuleBuilder.java:29)
at com.oblador.keychain.KeychainPackage.createNativeModules(KeychainPackage.java:30)
at com.facebook.react.ReactPackageHelper.getNativeModuleIterator(ReactPackageHelper.java:42)
at com.facebook.react.NativeModuleRegistryBuilder.processPackage(NativeModuleRegistryBuilder.java:42)
at com.facebook.react.ReactInstanceManager.processPackage(ReactInstanceManager.java:1458)
at com.facebook.react.ReactInstanceManager.processPackages(ReactInstanceManager.java:1429)
at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1340)
at com.facebook.react.ReactInstanceManager.access$1200(ReactInstanceManager.java:136)
at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:1108)
at java.lang.Thread.run(Thread.java:1012)
The text was updated successfully, but these errors were encountered: