我正在尝试升级 Pixel 4 模拟器上的 Chrome 应用,但升级后无法运行。
要将 Chrome 升级到最新版本,我运行:
adb -s install -r com.android.chrome_89.0.4389.105-438910521_minAPI24\(x86\)\(nodpi\)_apkmirror.com.apk
它给了我这个:
Performing Streamed Install
Success
但是,在模拟器上它删除了 Chrome 应用程序图标,所以升级后如何启动 Chrome 应用程序?它确实出现在“设置”>“应用程序”中,并且版本已升级到我提供的 apk 文件中的版本。
如果我尝试通过以下 adb 命令运行它:
adb shell am start -n com.android.chrome/com.google.android.apps.chrome.Main
我明白了:
Starting: Intent { cmp=com.android.chrome/com.google.android.apps.chrome.Main } Error type 3 Error: Activity class {com.android.chrome/com.google.android.apps.chrome.Main} does not exist.
有没有办法让 Chrome 应用程序图标在升级后显示,或者我可以使用另一个 adb 命令吗?