We use a custom Android ROM which in-turn uses the default WebView with version 48. We want to replace that APK with the APK from the Play Store with version 74. Both have different package names.
I've read this replacing default WebView and done changing my frameworks/base/core/res/res/values/config.xml values to point to the new APK's package name.
Now, when I try to launch the Activity which hosts the WebView I get this stacktrace
E/webviewchromiumloader: Failed to open relro file /data/misc/shared_relro/libwebviewchromium64.relro: No such file or directory
E/dex2oat: Failed to create oat file: /data/dalvik-cache/arm64/data@app@com.google.android.webview-1@base.apk@classes.dex: Permission denied
E/cr_LibraryLoader: Unable to load library: webviewchromium
E/WebViewFactory: error instantiating provider
Binary XML file line #7: Binary XML file line #7: Error inflating class android.webkit.WebView
What am I missing here? or any alternative library which has the latest WebView
Solved here - link