Skip to content

Fixing runtime errors

Simão Gomes Viana edited this page Oct 2, 2024 · 2 revisions

Failed to load WebView provider: No WebView installed

Make sure a WebView apk is installed. Usually there'll be a external/chromium-webview in your source tree.

To troubleshoot this issue, try following steps first:

  • adb shell am start -n com.android.settings/com.android.settings.WebViewImplementation -> tap on the webview
  • adb shell am start -n com.android.webview/org.chromium.android_webview.devui.MainActivity -> if this does not start an activity, there's a problem with the WebView app
  • adb shell pm list packages -a | grep webview -> if this does not give you a com.android.webview package, then WebView is missing.

This commit is necessary in 15: https://review.lineageos.org/c/LineageOS/android_vendor_lineage/+/404078