在云测时发现一台机型上出现如下报错日志:
43525 05-08 02:07:34.571 30879 E CrashReport Caused by: java.lang.RuntimeException: Cannot load WebView
43526 05-08 02:07:34.571 30879 E CrashReport at com.android.webview.chromium.WebViewChromiumFactoryProvider.I(WebViewChromiumFactoryProvider.java:62)
43527 05-08 02:07:34.571 30879 E CrashReport at com.android.webview.chromium.WebViewChromiumFactoryProvider.<init>(WebViewChromiumFactoryProvider.java:21)
43528 05-08 02:07:34.571 30879 E CrashReport ... 35 more
43529 05-08 02:07:34.571 30879 E CrashReport Caused by: org.chromium.base.library_loader.ProcessInitException
43530 05-08 02:07:34.571 30879 E CrashReport at org.chromium.base.library_loader.LibraryLoader.loadAlreadyLocked(LibraryLoader.java:104)
43531 05-08 02:07:34.571 30879 E CrashReport at org.chromium.base.library_loader.LibraryLoader.loadNowOverrideApplicationContext(LibraryLoader.java:36)
43532 05-08 02:07:34.571 30879 E CrashReport at com.android.webview.chromium.WebViewChromiumFactoryProvider.I(WebViewChromiumFactoryProvider.java:54)
43533 05-08 02:07:34.571 30879 E CrashReport ... 36 more
43534 05-08 02:07:34.571 30879 E CrashReport Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: "/system/app/Chrome/Chrome.apk!/lib/armeabi-v7a/libmonochrome.so" is 32-bit instead of 64-bit
43535 05-08 02:07:34.571 30879 E CrashReport at java.lang.Runtime.loadLibrary0(Runtime.java:989)
43536 05-08 02:07:34.571 30879 E CrashReport at java.lang.System.loadLibrary(Sys
43537 05-08 02:07:34.571 30879 E CrashReport #++++++++++++++++++++++++++++++++++++++++++#
机型:红米4A(Remi 4A)
系统版本:android 7.1.2
在点击facebook授权登录出现闪退。
apk包信息:lib中包含arm64-v8a和armeabi-v7a库,其中arm64-v8a中so文件比armeabi-v7a要少。
初步原因分析:系统判断apk支持64位,启动了64位虚拟机运行。但是在加载web页面(chrome内核)时发现缺少64位库。