I want to run Android application in command line after execution android:deploy maven goal
Does Maven have some command which can run application after
Thanks mschonaker I found the complete solution for Maven
First you need to add plugin in your POM
exec-maven-plugin
org.codehaus.mojo
${basedir}/scripts/run_app.sh
add script in ${basedir}/scripts/ dir with next content:
adb shell am start -a android.intent.action.MAIN -n your.app.package/.YourMainActivity
Command to build and run app
mvn clean install android:deploy; mvn exec:exec