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

后端 未结 4 1123
日久生厌
日久生厌 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 15:14

    You can also find this error while using calling System.load(String pathName) method and just passing libraryName instead of complete path to library.

    Resolution : use System.loadLibrary(String libName) method and now pass the libraryName.

提交回复
热议问题