兄弟,我在一台红米 6 的机器上无法启动应用,系统为 android 9 ,机器自带的 webview 是 80 。
报错如下(部分):
```
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.github.content.shell/com.example.chromium_content_view.ContentShellActivity}: org.chromium.base.library_loader.ProcessInitException: errorCode=2
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2976)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3113)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:113)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:71)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1858)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:201)
at android.app.ActivityThread.main(ActivityThread.java:6820)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$
MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:922)
Caused by: org.chromium.base.library_loader.ProcessInitException: errorCode=2
at org.chromium.base.library_loader.LibraryLoader.loadMainDexAlreadyLocked(LibraryLoader.java:738)
at org.chromium.base.library_loader.LibraryLoader.ensureMainDexInitialized(LibraryLoader.java:528)
at org.chromium.base.library_loader.LibraryLoader.ensureInitialized(LibraryLoader.java:511)
at com.example.chromium_content_view.ContentShellActivity.initChromiumWebView(ContentShellActivity.java:136)
at com.example.chromium_content_view.ContentShellActivity.onCreate(ContentShellActivity.java:58)
at android.app.Activity.performCreate(Activity.java:7224)
at android.app.Activity.performCreate(Activity.java:7213)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1272)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2956)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3113)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:113)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:71)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1858)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:201)
at android.app.ActivityThread.main(ActivityThread.java:6820)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$
MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:922)
Caused by: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/android.test.mock.jar", zip file "/system/framework/android.test.runner.jar", zip file "/data/app/com.github.content.shell-bXLz8BiwUBL7jXRBoiAm_A==/base.apk"],nativeLibraryDirectories=[/data/app/com.github.content.shell-bXLz8BiwUBL7jXRBoiAm_A==/lib/arm, /data/app/com.github.content.shell-bXLz8BiwUBL7jXRBoiAm_A==/base.apk!/lib/armeabi-v7a, /system/lib]]] couldn't find "
libtest_trace_processor.so"
at java.lang.Runtime.loadLibrary0(Runtime.java:1012)
at java.lang.System.loadLibrary(System.java:1669)
at org.chromium.base.library_loader.LibraryLoader.loadWithSystemLinkerAlreadyLocked(LibraryLoader.java:686)
at org.chromium.base.library_loader.LibraryLoader.loadMainDexAlreadyLocked(LibraryLoader.java:721)
at org.chromium.base.library_loader.LibraryLoader.ensureMainDexInitialized(LibraryLoader.java:528)
at org.chromium.base.library_loader.LibraryLoader.ensureInitialized(LibraryLoader.java:511)
at com.example.chromium_content_view.ContentShellActivity.initChromiumWebView(ContentShellActivity.java:136)
at com.example.chromium_content_view.ContentShellActivity.onCreate(ContentShellActivity.java:58)
at android.app.Activity.performCreate(Activity.java:7224)
at android.app.Activity.performCreate(Activity.java:7213)
```