使用 ADB 打开 Chrome [英] Open Chrome with ADB
本文介绍了使用 ADB 打开 Chrome的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我曾经能够像这样使用 ADB 启动 Chrome:
I used to able to launch Chrome using ADB like this:
adb shell am start -n com.android.chrome/com.android.chrome.Main
但现在当我尝试时,我得到:
But now when I try it, I get:
Starting: Intent { cmp=com.android.chrome/.Main }
Error type 3
Error: Activity class {com.android.chrome/com.android.chrome.Main} does not exist.
似乎主类名称已更改.如果是这样,新的是什么?
It seems that the Main Class name has changed. If so, what's the new one?
推荐答案
Adb 命令用于此
adb shell am start -n com.android.chrome/com.google.android.apps.chrome.Main
这篇关于使用 ADB 打开 Chrome的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文