diff --git a/bdk-android/README.md b/bdk-android/README.md index 95528b9..2e4b882 100644 --- a/bdk-android/README.md +++ b/bdk-android/README.md @@ -95,5 +95,18 @@ and use the `publishToMavenLocal` task without excluding the signing task: ./gradlew publishToMavenLocal ``` +## Known issues +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 +``` +The solution is to add JNA as a dependency like so: +```kotlin +dependencies { + // ... + implementation("net.java.dev.jna:jna:5.12.1") +} +``` + [`bdk`]: https://github.com/bitcoindevkit/bdk [`bdk-ffi`]: https://github.com/bitcoindevkit/bdk-ffi diff --git a/bdk-jvm/README.md b/bdk-jvm/README.md index b6213e6..627fd6c 100644 --- a/bdk-jvm/README.md +++ b/bdk-jvm/README.md @@ -82,5 +82,18 @@ and use the `publishToMavenLocal` task without excluding the signing task: ./gradlew publishToMavenLocal ``` +## Known issues +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 +``` +The solution is to add JNA as a dependency like so: +```kotlin +dependencies { + // ... + implementation("net.java.dev.jna:jna:5.12.1") +} +``` + [`bdk`]: https://github.com/bitcoindevkit/bdk [`bdk-ffi`]: https://github.com/bitcoindevkit/bdk-ffi