WebViewUpgrade icon indicating copy to clipboard operation
WebViewUpgrade copied to clipboard

upgrade webview directly does not require install WebView Apk In Android. Android免安装升级WebView内核

Results 18 WebViewUpgrade issues
Sort by recently updated
recently updated
newest added

设备: 安卓14小米澎湃 在这个配置的情况下 ![b5aca9d79014fce86bb391816135a20](https://github.com/JonaNorman/WebViewUpgrade/assets/88574031/d58a72f8-8155-463b-a262-2de5bc2e10ea) app单独使用android.permission.REQUEST_INSTALL_PACKAGES 权限不能获取到已安装的chrome的包信息,必须使用queries明确指定chrome才行 但是系统给app这个权限默认是允许的(仅运行时允许) ![890fb6cac5845e929f54e7485d5c7ce](https://github.com/JonaNorman/WebViewUpgrade/assets/88574031/5c4c6056-42eb-4d20-820c-99856b8c1947) ![bfbc608855d982be31818f0d890f65d](https://github.com/JonaNorman/WebViewUpgrade/assets/88574031/e57dfc92-91f3-4bd7-8d69-fc564f144543)

你好,更新新版的Web内核会报错,目前在三星、华为手机上都会此错误,报错信息如下: Chromium WebView package does not exist android.webkit.WebViewFactory$MissingWebViewPackageException: Tried to load an invalid WebView provider: com.google.android.trichromelibrary at android.webkit.WebViewFactory.verifyPackageInfo(WebViewFactory.java:439) at android.webkit.WebViewFactory.getWebViewContextAndSetProvider(WebViewFactory.java:496) at android.webkit.WebViewFactory.getProviderClass(WebViewFactory.java:528) at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:369) at android.webkit.WebView.getFactory(WebView.java:2609) at android.webkit.WebView.ensureProviderCreated(WebView.java:2603) at android.webkit.WebView.setOverScrollMode(WebView.java:2671)...

message:com.norman.webviewup.lib.reflect.ReflectException: java.lang.NullPointerException: unable to find supported abis [arm64-v8a, x86_64] in dir /data/user/0/cc.signworld.adpublish.ph.pictoscreen/files/com.google.android.webview/122.0.6261.64.apk-libs stackTrace:com.norman.webviewup.lib.WebViewReplaceException: com.norman.webviewup.lib.reflect.ReflectException: java.lang.NullPointerException: unable to find supported abis [arm64-v8a, x86_64] in dir /data/user/0/cc.signworld.adpublish.ph.pictoscreen/files/com.google.android.webview/122.0.6261.64.apk-libs at java.lang.reflect.Method.invoke(Native Method) at com.norman.webviewup.lib.reflect.RuntimeProxy$1.onInvoke(RuntimeProxy.java:83)...

作者你好,最近在项目的使用中发现,项目最低能在API24中替换webview 内核成功,但是换成API23就只有提示成功,实际未替换。是否是某些方法要做向下兼容。 API 24 ![{4EF73F22-E711-4c97-80A8-4D6A31CEB35B}](https://github.com/user-attachments/assets/bbbb2cb3-fc97-4e27-89f1-e4e55c475480) API23 ![1](https://github.com/user-attachments/assets/5848da48-0ddc-4f35-99a5-4295e6c79c85) ![2](https://github.com/user-attachments/assets/84251652-6968-4941-9316-8a086c9ae001)

https://github.com/webdev-support/chrome_content_shell 有些功能是没有的。 所以说只能简单替换,但是坑比较少。

小米手机 安卓版本=15 Failed to read Aconfig values from /vendor/etc/aconfig_flags.pb java.io.FileNotFoundException: /vendor/etc/aconfig_flags.pb: open failed: ENOENT (No such file or directory) at libcore.io.IoBridge.open(IoBridge.java:574) at java.io.FileInputStream.(FileInputStream.java:179) at java.io.FileInputStream.(FileInputStream.java:133) at com.android.internal.pm.pkg.component.AconfigFlags.(AconfigFlags.java:71) at com.android.internal.pm.pkg.parsing.ParsingPackageUtils.(ParsingPackageUtils.java:296) at...

只是想测试一下看是否可用。 ![Image](https://github.com/user-attachments/assets/17453c55-a596-4aec-951c-7edbb2b1140c)

崩溃日志 `org.chromium.base.process_launcher..ChildProcessConnection$ChildProcessMismatchException and main process's package has been updated since process launch; process needs restarting! at WV.Fd.g(chromium-SystemWebViewGoogle.aab-stable-694304901:252) at WV.fe.onServiceConnected(chromium-SystemWebViewGoogle.aab-stable-694304901:35) at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:2306) at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:2339) at android.os.Handler.handleCallback(Handler.java:959) at android.os.Handler.dispatchMessage(Handler.java:100) at android.os.Looper.loopOnce(Looper.java:249) at...