Running any application on the emulator through the terminal

How to run any application through a terminal or command shell on the Android emulator engine? For example, if I want to start any game, how can I do it through a terminal or a command shell?

Anyone who can help is truly appreciated.

Thank,

Sam.

+3
source share
1 answer

You can use the am startadb command trap. Example for a browser application navigating the internet:

am start -a android.intent.action.MAIN -n com.android.browser/.BrowserActivity 
+5
source

Source: https://habr.com/ru/post/1787891/


All Articles