Big Barry Bitcoin on Nostr: #asknostr #android #dev Vitor Pamplona I'm trying to build my very first android app, ...
#asknostr #android #dev
Vitor Pamplona (nprofile…pyug)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().
Published at
2025-06-03 20:48:33Event JSON
{
"id": "63798cc45bf7f70e48a169c1cb2ee32b1676b6e04efb061b3016350af71357f5",
"pubkey": "0d97beae567fcec9c6574f1c6ef6126ea969d4992c3198e51c0fac52c5274a14",
"created_at": 1748983713,
"kind": 1,
"tags": [
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c",
"",
"mention"
],
[
"t",
"asknostr"
],
[
"t",
"android"
],
[
"t",
"dev"
],
[
"r",
"java.lang.UnsatisfiedLinkError"
],
[
"r",
"linux-dispatch.so"
],
[
"r",
"lazysodium.SodiumAndroid."
],
[
"r",
"\"net.java.dev.jna:5"
]
],
"content": "#asknostr #android #dev nostr:nprofile1qqsyvrp9u6p0mfur9dfdru3d853tx9mdjuhkphxuxgfwmryja7zsvhqpzamhxue69uhhv6t5daezumn0wd68yvfwvdhk6tcpz9mhxue69uhkummnw3ezuamfdejj7qgwwaehxw309ahx7uewd3hkctcscpyug\n\nI'm trying to build my very first android app, and it is gonna be an android app.\n\nI got stuck straight away attempting to use the Quartz library provided by Amethyst.\n\nI am getting this error and AI doesn't seem to be very good at helping me. Hope someone can help me.\n\n```\njava.lang.UnsatisfiedLinkError: Native library (com/sun/jna/android-x86-64/linux-dispatch.so) not found in resource path (.) \n```\n\nThis happens when trying to create a new KeyPair and it loads lazysodium.SodiumAndroid.\n\nI have added the following to my dependencies under the instruction of AI, but it hasn't helped:\n\n```\nimplementation(\"com.goterl:lazysodium-android:5.2.0\") \nimplementation(\"net.java.dev.jna:5.17.0\") \n```\n\nFYI, excuse any typos, I typed this by hand but the app does compile. It crashes when I try to call KeyPair(). ",
"sig": "777e8392a619536789615a5107c23a046bf2858d5e30ff41da5b533f0c369e469041b1b438483627c143f21d5ba619e7291879d124089cc3b72aa2e0072bb300"
}