Unable to dlopen(libsomething.so) Cannot load library: link_image[1995]: failed to link libsomething.so

后端 未结 4 1130
日久生厌
日久生厌 2020-12-16 14:28

I am writing an android project which has Native layer helping the java layer, and am stuck at a place where when i try to do a System.loadLibrary, it is throwing error that

4条回答
  •  心在旅途
    2020-12-16 14:59

    I've trap in the same question. finally I got answer from this article: http://mpigulski.blogspot.com/2010/09/debugging-dlopen-unsatisfiedlinkerror.html

    use

    arm-linux-androideabi-readelf.exe  -d libs/armeabi/libmy.so
    

    Then Found a NEEDED Shared library in wrong name.

提交回复
热议问题