Android NDK java.lang.UnsatisfiedLinkError: findLibrary returned null

后端 未结 16 674
我在风中等你
我在风中等你 2020-11-30 01:56

Having the above error in your Android JNI app? Read on...

Up front, I\'ll say that I\'ve already solved this, in my own way, but I feel something in the Android bu

16条回答
  •  孤城傲影
    2020-11-30 02:05

    just had a similar problem.

    Check out your /data/data/your.package.name/lib directory

    When i ls in my package directory it currently displays:

    lib -> /mismatched_uid/settings_10037/fs_1000
    

    probably i accidently switched the sharedUserId and thus the library can't be accessed anymore.

提交回复
热议问题