is 32-bit instead of 64-bit

出现机型:
华为 EVA AL10

原因:系统中没有 64位的so文件,只有32位的so文件(此处是系统webview 使用的libwebviewchromium.so文件 )

报错信息:android.view.InflateException:Binary XML file line #13: Binary XML file line #13: Error inflating class com.bosi.chineseclass.views.SelectTextWebView
2 ......
3 Caused by:
4 java.lang.UnsatisfiedLinkError:dlopen failed: "/data/app/com.google.android.webview-1/lib/arm/libwebviewchromium.so" is 32-bit instead of 64-bit
5 java.lang.Runtime.loadLibrary0(Runtime.java:994)
6 java.lang.System.loadLibrary(System.java:1533)
7org.chromium.base.library_loader.LibraryLoader.loadAlreadyLocked(LibraryLoader.java:55)

解决方案:
(思路没有64位的so 用32的位的)
defaultConfig {
ndk{
abiFilters("armeabi", "armeabi-v7a", "x86", "mips")
}
}

你可能感兴趣的:( is 32-bit instead of 64-bit)