In the previous android post, we setup the android environment and the android emulator. This example will use maven to build a android application. Download the helloworld example.
Making sure you’ve your in the helloworld folder on the command line type:
– To deploy to an emulator
mvn android:emulator-start
mvn clean install android:deploy
mvn clean install android:deploy
– Or to deploy to a usb connected android device
mvn clean install android:deploy -Dandroid.device=usb
