Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native library (android-x86/libbdkffi.so) not found in resource path (.) #2

Open
shobitb opened this issue Aug 30, 2022 · 0 comments
Open

Comments

@shobitb
Copy link

shobitb commented Aug 30, 2022

Steps to reproduce:

  • Pull down the bdk-rn-app code using git clone https://github.com/LtbLightning/bdk-rn-app.git (this is at the commit: 26abfc6)
  • Update package.json to use "bdk-rn": "git+https://github.com/LtbLightning/bdk-rn.git"
  • Perform yarn install and yarn run android.
  • Wait for the app to launch
  • Click Create new wallet (app will show the seed and a Go to Wallet option).
  • Go to the wallet

Expected: Balance should be shown
Actual:
Screen Shot 2022-08-29 at 6 13 27 PM

adb logcat shows:

java.lang.Class<io.ltbl.bdkrn.BdkFunctions>: java.lang.UnsatisfiedLinkError: Unable to load library 'bdkffi':
08-29 19:34:26.822 14298 14352 I com.bdkdemo: dlopen failed: library "libbdkffi.so" not found
08-29 19:34:26.822 14298 14352 I com.bdkdemo: dlopen failed: library "libbdkffi.so" not found
08-29 19:34:26.823 14298 14352 I com.bdkdemo: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.bdkdemo-8QFTQoqpZx44CvNtc67ePg==/base.apk"],nativeLibraryDirectories=[/data/app/com.bdkdemo-8QFTQoqpZx44CvNtc67ePg==/lib/x86, /data/app/com.bdkdemo-8QFTQoqpZx44CvNtc67ePg==/base.apk!/lib/x86, /system/lib, /system/product/lib]]] couldn't find "libbdkffi.so"
08-29 19:34:26.823 14298 14352 I com.bdkdemo: Native library (android-x86/libbdkffi.so) not found in resource path (.)
08-29 19:34:26.823 14298 14352 I com.bdkdemo: (Throwable with no stack trace)
08-29 19:34:26.823 14298 14352 I com.bdkdemo:

Other details:
Steps performed on Mac OS Catalina 10.15.7

java --version
openjdk 11.0.11 2021-04-20 LTS
OpenJDK Runtime Environment Corretto-11.0.11.9.1 (build 11.0.11+9-LTS)
OpenJDK 64-Bit Server VM Corretto-11.0.11.9.1 (build 11.0.11+9-LTS, mixed mode)
gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/c++/4.2.1
Apple clang version 12.0.0 (clang-1200.0.32.29)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
react-native --version
react-native-cli: 2.0.1
react-native: 0.67.3
yarn --version
1.22.19
npm --version
6.14.12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant