检测到Nougat中应用程序本机库的问题

时间:2017-05-24 06:37:02

标签: android android-ndk

我正在使用Android本机库,在处理图像时,我看到一条消息说

this is the warning message

当我使用targetSdkVersion 22时,如果我更新targetSdkVersion to 23或更高版本就会出现错误

java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/package-name-1/lib/arm/libjniopencv_core.so: has text relocations.
 at java.lang.Runtime.loadLibrary0(Runtime.java:977)

at java.lang.System.loadLibrary(System.java:1530)
                                                                          at com.googlecode.javacpp.Loader.loadLibrary(Loader.java:701)
                                                                          at com.googlecode.javacpp.Loader.load(Loader.java:578)
                                                                          at com.googlecode.javacpp.Loader.load(Loader.java:532)
                                                                          at com.googlecode.javacv.cpp.opencv_core.<clinit>(opencv_core.java:136)
                                                                          at java.lang.Class.classForName(Native Method)
                                                                          at java.lang.Class.forName(Class.java:400)
                                                                          at com.googlecode.javacpp.Loader.load(Loader.java:553)
                                                                          at com.googlecode.javacpp.Loader.load(Loader.java:532)
                                                                          at com.googlecode.javacv.cpp.opencv_core$CvSize.<clinit>(opencv_core.java:2560)

请建议。

0 个答案:

没有答案