adb command line: How to launch an app from adb

If you ever need to launch an app from the adb command line here’s how.

First, if you haven’t added the platform tools to you %PATH% environment you should. It’s a great time saving shortcut.

Ok now that you’re cool like us on to the adb command:

You need to use the am command which is an adb shell command. adb has its own set of commands, adb shell has its own other set.

So what does the syntax for the am command look like? First i’ll show you the command and then i’ll explain it.

Ok so there it is. adb shell am start -a android.intent.action.MAIN -n

Here is also a pretty great explanation:


Leave a Reply

Your email address will not be published. Required fields are marked *