qq_28150513
iwulh
2019-08-31 15:33

在真机上运行是没有问题的,在as自带的模拟器上出现连接不上native的问题,哪位大佬能帮忙分析下不?

  • java
  • c语言
  • android

java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/com.ylst.lookhome-JI9EgH8zVXvvgSCHMVu86A==/lib/x86/libnative.so" has text relocations (https://android.googlesource.com/platform/bionic/+/master/android-changes-for-ndk-developers.md#Text-Relocations-Enforced-for-API-level-23)
at java.lang.Runtime.loadLibrary0(Runtime.java:1016)
at java.lang.System.loadLibrary(System.java:1657)
at com.application.Native.(Native.java:10)
at com.application.Native.DeInitMess(Native Method)
at com.doorbell.wecsee.services.PushService.onDestroy(PushService.java:213)
at android.app.ActivityThread.handleStopService(ActivityThread.java:3504)
at android.app.ActivityThread.-wrap26(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1697)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

  • 点赞
  • 收藏
  • 复制链接分享

1条回答