Update Android readme to add section on x86 emulators

This commit is contained in:
thunderbiscuit 2023-02-17 16:00:41 -05:00
parent 5ca1d17adb
commit 90d12a96c5
No known key found for this signature in database
GPG Key ID: 88253696EB836462

View File

@ -28,7 +28,7 @@ val blockchainConfig = BlockchainConfig.Electrum(
ElectrumConfig("ssl://electrum.blockstream.info:60002", null, 5u, null, 10u, true) ElectrumConfig("ssl://electrum.blockstream.info:60002", null, 5u, null, 10u, true)
) )
val wallet = Wallet(externalDescriptor, internalDescriptor, Network.TESTNET, databaseConfig, blockchainConfig) val wallet = Wallet(externalDescriptor, internalDescriptor, Network.TESTNET, databaseConfig, blockchainConfig)
val newAddress = wallet.getAddress(AddressIndex.LAST_UNUSED) val newAddress = wallet.getAddress(AddressIndex.LastUnused)
``` ```
### Snapshot releases ### Snapshot releases
@ -96,6 +96,7 @@ and use the `publishToMavenLocal` task without excluding the signing task:
``` ```
## Known issues ## 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 Depending on the JVM version you use, you might not have the JNA dependency on your classpath. The exception thrown will be
```shell ```shell
class file for com.sun.jna.Pointer not found 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`]: https://github.com/bitcoindevkit/bdk
[`bdk-ffi`]: https://github.com/bitcoindevkit/bdk-ffi [`bdk-ffi`]: https://github.com/bitcoindevkit/bdk-ffi