thunderbiscuit / padawan-wallet

The bitcoin wallet trainer on Android.
https://padawanwallet.com/
Apache License 2.0
116 stars 50 forks source link

UnsatisfiedLinkError while creating wallet #277

Closed Ayan-10 closed 1 year ago

Ayan-10 commented 1 year ago

Got UnsatisfiedLinkError after clicking the create wallet button.

Screenshot:

Logs:

2023-03-25 12:03:01.779 24416-24416 PadawanActivity         com.goldenraven.padawanwallet.debug  I  Could not build wallet: java.lang.UnsatisfiedLinkError: Unable to load library 'bdkffi':
                                                                                                    dlopen failed: library "libbdkffi.so" not found
                                                                                                    dlopen failed: library "libbdkffi.so" not found
                                                                                                    dlopen failed: library "libbdkffi.so" not found
                                                                                                    Native library (android-x86/libbdkffi.so) not found in resource path (.)

Tested beta on Pixel 3 emulator with API level 30.

thunderbiscuit commented 1 year ago

Hey! thanks for testing out the app.

What is happening most likely is that you're running a 32-bit emulator (x86) instead of a 64-bit emulator (x86_64), and we don't support 32-bit architectures in the bitcoin dev kit language bindings library. I do not know why this is the default emulator downloads for a lot of Android Studio versions, but you'll likely fix your bug by downloading an x86_64 emulator in Android Studio.

Let me know if that doesn't solve your issue!

Ayan-10 commented 1 year ago

@thunderbiscuit Thanks for the information, it solves the issue.

Also, I was thinking to make a proposal for the padawan wallet in the Summer of Bitcoin, and I am exploring the issues to contribute here and to get familiar with the codebase. Can you elaborate a little on this year's Summer of BItcoin project idea which is Advanced bitcoin features on Padawan Wallet, like what are the expected outcomes and some features that we have to work on? It will help me to understand the project idea more accurately.

thunderbiscuit commented 1 year ago

Your best bet is to download the app and start playing with it. I think you'll find all sorts of little bugs. Feel free to open issues and if they're worth tackling you can also make PRs!

The app is in a state where we need to polish up some stuff, get a designer to build images/diagrams for us, and release a 1.0 version! Related are the Devkit Wallet and Tatooine faucet. Proposals to explore/add to all 3 of these projects will be considered.