Why Nostr? What is Njump?
2025-06-03 20:48:33

Big Barry Bitcoin on Nostr: #asknostr #android #dev Vitor Pamplona I'm trying to build my very first android app, ...

#asknostr #android #dev

I'm trying to build my very first android app, and it is gonna be an android app.

I got stuck straight away attempting to use the Quartz library provided by Amethyst.

I am getting this error and AI doesn't seem to be very good at helping me. Hope someone can help me.

```
java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/android-x86-64/linux-dispatch.so) not found in resource path (.)
```

This happens when trying to create a new KeyPair and it loads lazysodium.SodiumAndroid.

I have added the following to my dependencies under the instruction of AI, but it hasn't helped:

```
implementation("com.goterl:lazysodium-android:5.2.0")
implementation("net.java.dev.jna:5.17.0")
```

FYI, excuse any typos, I typed this by hand but the app does compile. It crashes when I try to call KeyPair().
Author Public Key
npub1pktmatjk0l8vn3jhfuwxaasjd65kn4ye9sce3egup7k993f8fg2q5tpxa6