添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account android-aarch64 libjnidispatch UnsatisfiedLinkError: Can't obtain static method fromNative(Method, Object) from class com.sun.jna.Native android-aarch64 libjnidispatch UnsatisfiedLinkError: Can't obtain static method fromNative(Method, Object) from class com.sun.jna.Native lipo5476 opened this issue Sep 14, 2016 · 4 comments

Hi all,

I have built so library for arm64-v8a platform using standalone toolchain, downloaded libjnidispatch.so included in android-aarch64.jar and copied both so files to jniLibs/arm64-v8a directory of my android studio project. I'm trying to run my sample application and it keeps giving me error:
java.lang.UnsatisfiedLinkError: Can't obtain static method fromNative(Method, Object) from class com.sun.jna.Native

I have tried both jna-4.0.0.jar and jna-4.2.2.jar.

Is there any problem with libjnidispatch.so fro android aarch64 platform?
Could anybody please help me to solve this issue?

Thank you