Dear AOSP WebView Team,
I hope this message finds you well. My name is [Your Name], and I'm an independent developer currently working on a customized Android build for personal use on my Google Pixel 3 device.
I've encountered some challenges after building and flashing AOSP android11_r34:
From my research, I understand that Android stopped bundling WebView since Lollipop, requiring developers to integrate it manually. I've attempted:
Unfortunately, these approaches haven't resolved the issues. I'd greatly appreciate any insights on:
Thank you very much for your time and expertise. The work you do on AOSP is incredibly valuable to developers like myself. Please let me know if you need any additional details about my setup.
Best regards,
--
You received this message because you are subscribed to the Google Groups "android-webview-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-webview...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/android-webview-dev/8f0324f6-2608-4dc3-acc5-15a6fa2a6ceen%40chromium.org.
Hi, thanks for reaching out!> Installed browsers fail to access the network (crashing on launch)Can you share the crash stack from adb logcat?Also, can you run `adb shell dumpsys webviewupdate` and share the output here?
> From my research, I understand that Android stopped bundling WebView since Lollipop, requiring developers to integrate it manually.You are half right. Starting in Android Lollipop, WebView code was refactored out of the operating system itself into a separate updatable APK file. But we still include that APK file in the Android source code repository, and the WebView APK file should be installed by default if you flash your device. If all you did was flash a device, then it is highly unlikely that you are missing a WebView implementation. It should come along automatically when you flash.Now if you do want to modify your own WebView, that is something we support (for development purposes). The steps for that are https://chromium.googlesource.com/chromium/src/+/HEAD/android_webview/docs/aosp-system-integration.md. But to be clear, we do not expect that everyone has to do this just to make the device work. This is only necessary if you want to make your own customizations to WebView.
--On Wed, Apr 9, 2025 at 5:24 PM 邓纪富 <deng...@gmail.com> wrote:Dear AOSP WebView Team,
I hope this message finds you well. My name is [Your Name], and I'm an independent developer currently working on a customized Android build for personal use on my Google Pixel 3 device.
I've encountered some challenges after building and flashing AOSP android11_r34:
- The system appears to have no functional WebView implementation
- Installed browsers fail to access the network (crashing on launch)
From my research, I understand that Android stopped bundling WebView since Lollipop, requiring developers to integrate it manually. I've attempted:
- Placing a Google WebView APK in external/chromium-webview/prebuilt/arm64 before rebuilding
- Testing both my custom AOSP build and the official factory image (noting behavioral differences)
Unfortunately, these approaches haven't resolved the issues. I'd greatly appreciate any insights on:
- The proper method to integrate WebView in custom AOSP builds
- Potential differences between factory images and clean AOSP builds regarding WebView handling
- Recommended debugging steps for the browser crashes
Thank you very much for your time and expertise. The work you do on AOSP is incredibly valuable to developers like myself. Please let me know if you need any additional details about my setup.
Best regards,
--
You received this message because you are subscribed to the Google Groups "android-webview-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-webview...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/android-webview-dev/8f0324f6-2608-4dc3-acc5-15a6fa2a6ceen%40chromium.org.
You received this message because you are subscribed to the Google Groups "android-webview-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-webview...@chromium.org.