Setting up JNA in Android Studio

后端 未结 3 883
慢半拍i
慢半拍i 2020-12-11 17:09

I try to import jna.jar into my project since JNA is a very useful tool to call Native library which is base on JNI.

OS: Windows 10

IDE: And

3条回答
  •  猫巷女王i
    2020-12-11 17:20

    For Android, reference the JNA library adding @aar at the end of the string instead of downloading the JNA jar:

    https://github.com/java-native-access/jna/blob/master/www/FrequentlyAskedQuestions.md#jna-on-android

提交回复
热议问题