This project is a simple mobile mapping application built using the Mapzen SDKs and other open source projects.
- Java 7
- Maven 3.1+
- Android SDK (Platform-tools, Support Repository, Build-tools 19.0.3, API 19)
JAVA_HOME
,M2_HOME
, andANDROID_HOME
environment variables
Install and run Mapzen demo application.
$ git clone https://github.com/mapzen/mapzen-android-demo.git
$ cd mapzen-android-demo
$ ./scripts/install-dependencies.sh
$ mvn clean install
$ mvn android:deploy android:run
Note to OS X users: You can install Maven using Homebrew but you may receive an Error: Could not find or load main class ...
. To fix this, set your M2_HOME
to /usr/local/Cellar/maven/[version]/libexec
(note the added 'libexec').
Note to Ubuntu users: Additional packages must be installed to run aapt
on Ubuntu 64-bit installations. Please see http://stackoverflow.com/questions/19523502/androids-aapt-not-running-on-64-bit-ubuntu-13-10-no-ia32-libs-how-can-i-fix for more information.
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!