Skip to content
This repository was archived by the owner on Jan 9, 2019. It is now read-only.

Latest commit

 

History

History
28 lines (17 loc) · 1.23 KB

File metadata and controls

28 lines (17 loc) · 1.23 KB

Building & Developing Mapbox Android Services from Source

Just trying to use Mapbox Android Services in your application? You don't need to read this stuff! We provide easy-to-install, prebuilt versions of MAS for Android and Java that you can download instantly and get started with fast.

Still with us? These are the instructions you'll need to build Mapbox Android Services from source.

Your journey will start with getting the source code, adding your Mapbox access token for testing, and begin developing.

1: Getting the Source

Clone the git repository:

git clone https://github.com/mapbox/mapbox-java.git
cd mapbox-java

2: Adding Mapbox access token

Using the MAS testapp will require a valid Mapbox access token. It is recommend to create a res/values/developer-config.xml development file which will include your access token. Use the example below for reference:

<resources>
    <string name="mapbox_access_token"><your access token here></string>
</resources>

3: Begin developing

We recommend using Android Studio to work on the code base.