Launch Android apps from crosh terminal?

:pushpin:Question Description

Have you searched the community for related issues?

  • [ x ] No similar issues found.

Please describe the problem you’ve encountered in detail:

  • Description:
    I’ve got Android apps installed, they’re available in the “Start/app launcher menu”. I would like to start/launch them from the terminal. What command should I run?

Thank you

From Goole search, hope it will help:

Method 3: Interact with Android Apps via ADB [1]

If you are developing or testing Android apps, you can use the Android Debug Bridge (ADB) from the Developer Shell or Linux environment to trigger an application. [1, 2]

  1. Access the shell from Crosh (requires Developer Mode).
  2. Use the Android Activity Manager (am) tool to start an app package:

bash

adb shell am start -n com.package.name/com.package.name.MainActivity

For more information (Turn on Linux and ADB):
ADB and testing Android apps | ChromeOS.dev