android-maven-example
android-maven-example copied to clipboard
Sample Android project with Maven, with CI on Travis
Android Example Maven Project
This project has tests running on Travis CI. See this blog post for an in-depth description.
Note: This example may be outdated, and could probably be simplified. Check out the official samples for more up-to-date examples.
Also consider the new Gradle-based build system by the Android team.
Running tests locally
To run on a device connected via USB:
mvn install -Pintegration-tests -Dandroid.device=usb
To run on an emulator, start up an emulator, and set android.device
to the name of that emulator.
Sponsored by
Journey - Build enterprise mobile apps for iOS and Android. Work in the cloud, code in JavaScript and forget about back-end development.
License
All files in this project are under the MIT license, see LICENSE for details.