Start where you are
The following dependencies must be installed locally prior to building/running the project.
$ git clone https://github.com/mapzen/maven-android-sdk-deployer.git
$ cd maven-android-sdk-deployer
$ mvn install -P 4.4 # Used for building production application
$ mvn install -P 4.3 # Used for unit tests (Robolectric)
$ mvn install -fextras/compatibility-v4/pom.xml
$ mvn install -fextras/google-play-services/pom.xml
See Maven Android SDK Deployer project for more information.
$ git clone https://github.com/mapzen/simple-geojson.git geojson
$ cd geojson && ./gradlew clean install
$ git clone --recursive https://github.com/mapzen/vtm.git
$ cd vtm
$ echo "ndk.dir=/path/to/ndk" >> vtm-android/local.properties
$ ./gradlew clean install
$ git clone https://github.com/mapzen/vtm-native-libs.git
$ cd vtm-native-libs && ./install-dependencies.sh
$ git clone https://github.com/mapzen/speakerbox.git
$ cd speakerbox && mvn clean install
$ git clone https://github.com/mapzen/robolectric.git
$ cd robolectric && mvn clean install
$ mvn install:install-file -Dpackaging=jar -Dfile=/accessory-v1.0.9.jar -DgroupId=com.samsung -DartifactId=samsung-accessory -Dversion=1.0.9
$ git clone https://github.com/mapzen/android.git mapzen-android
$ cd mapzen-android
$ mvn clean install
$ mvn android:deploy android:run
We appreciate pull requests. Please run $ mvn clean verify
and make sure it runs cleanly as it runs all of our tests and code quality tools
we have configured. If you cannot make it run cleanly please let us know in the
comments of your pull requests and we will help. Thanks!