I have an Android 6 device, where I have full root access. On this device, we are using an app which basically uses a WebView to display a website. The app is installed as a privileged system app. It is working good, however the webview-version on the stock device has a few bugs and we would like to upgrade to a more recent version.
I could update system.android.webview via Google Play, but due to the number of devices that need to be udpated this is not a viable solution.
So my question is: How can I update the system webview on android 6 without google playstore? I need a way to extract the updated app from one device and install it on another without Google Play.
Ideally, we want to install without internet access but over adb so that we could script it easily for reliable installation on a larger number of devices.
The method suggested here for Android 5.1 seems to not work anymore on Android 6.
/data/app/com.google.android.webview
does not exist on my devices, could you give me a hint where to find the apk on the updated device?adb install -r ...
. Installation was successful, but my app could no longer instantiante the WebView, the causing exception seen inlogcat
was06-08 10:20:39.878 3467 3467 E WebViewFactory: Caused by: java.lang.RuntimeException: Cannot load WebView 06-08 10:20:39.878 3467 3467 E WebViewFactory: at com.android.webview.chromium.WebViewChromiumFactoryProvider.initialize(WebViewChromiumFactoryProvider.java:5068)
/data/app/com.google.android.webview-1
from a device updated via play store and put it on the new device. To make it use the updated webview, I had to remove/system/app/WebViewGoogle/
. Do you want to put this as an answer here?