Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

只要使用隐形水印就会崩溃 #32

Open
may7be opened this issue Aug 1, 2019 · 2 comments
Open

只要使用隐形水印就会崩溃 #32

may7be opened this issue Aug 1, 2019 · 2 comments

Comments

@may7be
Copy link

may7be commented Aug 1, 2019

日志如下:
Caused by: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.xiachufang-BzBASljGJfTQVm4wk-NAIA==/base.apk"],nativeLibraryDirectories=[/data/app/com.xiachufang-BzBASljGJfTQVm4wk-NAIA==/lib/arm, /data/app/com.xiachufang-BzBASljGJfTQVm4wk-NAIA==/base.apk!/lib/armeabi, /system/lib, /product/lib]]] couldn't find "libWatermark.so"

@huangyz0918
Copy link
Owner

@may7be 你是自己使用 Android Studio 运行源代码么?只是引用三方库是不会报这个 NDK 异常的。

@benjinus
Copy link

armeabi架构的原生库是不支持的,且ndk r17开始已经不支持这个架构。你的AndroidStudio编译的原生库应该只有 x86, armeabi-v7a, arm64-v8a这些,而你的测试设备的cpu是armeabi架构的。解决方法就是换一个好一点的手机或平板。一般系统在6.0以上的设备的cpu架构都是armeabi-v7a的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants