#asknostr #android #dev nostr:nprofile1qqsyvrp9u6p0mfur9dfdru3d853tx9mdjuhkphxuxgfwmryja7zsvhqpzamhxue69uhhv6t5daezumn0wd68yvfwvdhk6tcpz9mhxue69uhkummnw3ezuamfdejj7qgwwaehxw309ahx7uewd3hkctcscpyug

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().

Try adding the @aar at the end.

implementation "com.goterl:lazysodium-android:5.1.0@aar"

implementation 'net.java.dev.jna:jna:5.17.0@aar'

Reply to this note

Please Login to reply.

Discussion

No replies yet.