- 安装最新的 Android System Webview (com.google.android.webview)
- 拷贝 (pull) 一份
/System/framework/framework-res.apk的副本到任意位置 - 搜索在其中搜索
webview, 将/android/string/config_webViewPackageName的值改为com.google.android.webview - 将修改后的文件覆盖回 (push) 原位置
- 重启
Forked from maokwen/replace-android-system-webview.md
Last active
November 21, 2025 03:01
-
-
Save tw-Frey/42ddda775f5f64c67bad2d2ce40711d6 to your computer and use it in GitHub Desktop.
替换 Webview 預設 Package Name, e.g. [com.android.webview] → [com.google.android.webview]
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
4. 将修改后的文件覆盖回 (push) 原位置
這也不簡單
詳情參考:如何 push 檔案到 Android Emulator 的 /system (USE -writable-system)