I have a problem with my cordova app after the latest Android System WebView update (44.0.2403.39) on Android 5.x devices.
I would like to update the replicate the problem on the SDK Emulator. But the standard image of Android 5.1 comes with the WebView version 39.
Is there any way to update this component on the emulator?
I've found the APK for the update here but after installing it shows two entries on the App list on System Settings and it's not updating. So I can't replicate the problem.
The first one is the view that comes with the emulator v39 and the second one is the v44
How to Fix Chrome and Android System Webview not getting updated? You can reboot your device, check your internet connection, stop auto-updating all apps, clear Google Playstore cache, and storage, leave the beta testing program, and manually update the software.
Open the Preferences window by clicking File > Settings (on Mac, Android Studio > Preferences). In the left panel, click Appearance & Behavior > System Settings > Updates. Be sure that Automatically check for updates is checked, then select a channel from the drop-down list (see figure 1). Click Apply or OK.
If you have Chrome disabled and are using another browser, it's beneficial to keep the Android System WebView app since you won't have Chrome's WebView functionality. If you're really concerned, disable it. If you don't notice any issues with the apps you use, then you're fine.
To do so, launch the Play store, scroll the apps on your home and locate Android System WebView. Click on Open, and now you see the disabled button, click on Enable.
Did you try the M preview SDK? It contains WebView 44.
And while we are here, some more background:
WebView in Android AOSP (which comes with the SDK) and WebView in Android GMS (Google-branded devices) are different packages, and the OS is wired to use the corresponding package. Thus, even though it's possible to install these apks criss-cross on a different OS flavour, they will not work there.
WebView is updated via Play Store, which only exists on GMS devices, not on the emulator. So the AOSP version can only be updated manually.
But besides these package name differences, both WebView AOSP and WebView GMS are essentially the same.
You can even build WebView AOSP yourself. Although, this will require a beefy Linux machine to pull out.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With