From 90d12a96c5cdff2336da3e65e5eca587c9389ccc Mon Sep 17 00:00:00 2001 From: thunderbiscuit Date: Fri, 17 Feb 2023 16:00:41 -0500 Subject: [PATCH] Update Android readme to add section on x86 emulators --- bdk-android/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bdk-android/README.md b/bdk-android/README.md index b5b8e43..788e2f8 100644 --- a/bdk-android/README.md +++ b/bdk-android/README.md @@ -28,7 +28,7 @@ val blockchainConfig = BlockchainConfig.Electrum( ElectrumConfig("ssl://electrum.blockstream.info:60002", null, 5u, null, 10u, true) ) val wallet = Wallet(externalDescriptor, internalDescriptor, Network.TESTNET, databaseConfig, blockchainConfig) -val newAddress = wallet.getAddress(AddressIndex.LAST_UNUSED) +val newAddress = wallet.getAddress(AddressIndex.LastUnused) ``` ### Snapshot releases @@ -96,6 +96,7 @@ and use the `publishToMavenLocal` task without excluding the signing task: ``` ## Known issues +### JNA dependency Depending on the JVM version you use, you might not have the JNA dependency on your classpath. The exception thrown will be ```shell class file for com.sun.jna.Pointer not found @@ -108,5 +109,8 @@ dependencies { } ``` +### x86 emulators +For some older versions of macOS, Android Studio will recommend users install the x86 version of the emulator by default. This will not work with the bdk-android library, as we do not support 32-bit architectures. Make sure you install an x86_64 emulator to work with bdk-android. + [`bdk`]: https://github.com/bitcoindevkit/bdk [`bdk-ffi`]: https://github.com/bitcoindevkit/bdk-ffi