thunderbiscuit
09/18/2026, 12:59 PM<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
<version>5.14.0</version>
<type>aar</type>
<scope>runtime</scope>
</dependency>
But kotlin-toolchain resolves the jar instead of the aar, and the artifacts are not interchangeable, because the JNA lib ships its Android native libraries only in the aar. The app compiles fine but crashes at runtime because the appropriate lib/<abi>/libjnidispatch.so are not there.alexey.barsov
09/18/2026, 1:03 PMalexey.barsov
09/18/2026, 1:03 PMthunderbiscuit
09/18/2026, 1:04 PMalexey.barsov
09/18/2026, 1:07 PMthunderbiscuit
09/18/2026, 1:12 PMalexey.barsov
09/18/2026, 1:14 PM0.12.0-dev-4265). It was included in release versions 0.12.x
First I need to confirm the issue (I am not sure could it be caused by some other reason, Like AAR is resolved, but lib/<abi>/* of the library is not taken into account at runtime by some reason).
Could you please share you module.yaml file that references jna library transitively?alexey.barsov
09/18/2026, 1:20 PM0.13.0-dev-4328
You could try it on your project by updating the kotlin wrapper to a dev version.
> ./kotlin update --devalexey.barsov
09/18/2026, 1:44 PMjna-5.14.0.aar
I used io.gorules:zen-engine-kotlin-android:2.0.2 that have exactly the same dependency in its pom.xmlalexey.barsov
09/18/2026, 1:50 PMthunderbiscuit
09/18/2026, 1:55 PMthunderbiscuit
09/18/2026, 1:57 PM0.13.0-dev-4413 . It’s not part of the commit hash so I’m curiousalexey.barsov
09/18/2026, 1:58 PM4413 is just our internal build numberthunderbiscuit
09/18/2026, 2:00 PMthunderbiscuit
09/18/2026, 2:10 PMthunderbiscuit
09/18/2026, 2:12 PM