64位而不是32位ARM库

时间:2019-11-13 05:53:02

标签: android sdk arm react-native-android 32bit-64bit

当我为本地代码添加64位支持库时出现此错误。

couldn't find DSO to load: libreactnativejni.so caused by: couldn't find DSO to load: libfb.so caused by: couldn't find DSO to load: libc++_shared.so caused by: dlopen failed: "/data/data/com.example.myApp/lib-main/libc++_shared.so" is 64-bit instead of 32-bit

我在build.gradle的defualtConfig标记中添加了这个

ndk {
  abiFilters 'armeabi-v7a', 'x86', 'arm64-v8a', 'x86_64'
}

当我分析apk时,我看到所有包含* .so文件的所有库文件夹。 请帮助我解决此问题。谢谢!

0 个答案:

没有答案