Install the BashSupport plugin and add the following as a Bash configuration to the last thing that needs to be done in build order:
$ adb shell am start -n yourpackagename / .activityname
For example, create a “Run configuration” using a make assembly called “build” or whatever, and a separate Config with Bash executing the Terminal command above. In the Bash configuration at the bottom, add the “build” configuration above as “Before starting”> “Add another configuration”. So that he first did the project, and THEN executed the Bash command.
source share