Search code examples
androidadb

Open Chrome with ADB


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?


Solution

  • Adb command for this

    adb shell am start -n com.android.chrome/com.google.android.apps.chrome.Main