Skip to content

There is an incompatible JNA native library installed #41

@dmilicic

Description

@dmilicic

Version

4.3.1

Summary

This plugin seems to break builds on the latest version, even syncing the project using GraphQL fails.

Steps to reproduce the behavior

Tested on Android Studio Ladybug 2024.2.2 Patch 2 and Meerkat 2024.3.2 Patch 1.
Using java version 23.0.2-zulu community edition.

Steps to reproduce:

  1. Open project using GraphQL in Android Studio
  2. Download Apollo Kotlin GraphQL plugin 4.3.1
  3. Sync project

The same project works on Apollo Kotlin GraphQL plugin 4.2.0

Logs

There is an incompatible JNA native library installed on this system
Expected: 6.1.3
Found:    7.0.0
(at /Applications/Android Studio.app/Contents/lib/jna/aarch64/libjnidispatch.jnilib).
To resolve this issue you may do one of the following:
 - remove or uninstall the offending library
 - set the system property jna.nosys=true
 - set jna.boot.library.path to include the path to the version of the 
   jnidispatch library included with the JNA jar file you are using

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions