From 17e167fd463539c10a132722f2955a39431003c9 Mon Sep 17 00:00:00 2001 From: Tobrun Van Nuland Date: Tue, 21 Mar 2017 08:48:34 +0100 Subject: [PATCH] add linux instructions --- platform/android/README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/platform/android/README.md b/platform/android/README.md index f1bf54e9ebc..7c28433d96e 100644 --- a/platform/android/README.md +++ b/platform/android/README.md @@ -14,8 +14,6 @@ Alright. So, actually, you may be in the wrong place. From here on in, this READ [![](https://www.mapbox.com/android-sdk/images/splash.png)](https://www.mapbox.com/android-sdk/) - - ### Setup environment **These instructions are for developers interested in making code-level contributions to the SDK itself. If you instead want to use the SDK in your app, see above.** @@ -42,7 +40,6 @@ These dependencies are required for all operating systems and all platform targe - NDK - LLDB - - Modern C++ compiler that supports -std=c++14 - clang++ 3.5 or later or - g++-5 or later @@ -66,12 +63,19 @@ $ sudo apt-get install -y build-essential curl lib32stdc++6 lib32z1 pkg-config p #### Open project in Android Studio +##### macOS + Execute the following to generate the required build files and open the project with Android Studio: ``` make aproj ``` +##### linux + +Open Android Studio project in `/platform/android`, run `make android-configuration` in the root folder of the project. + + ##### Setting Mapbox Access Token _The test application (used for development purposes) uses Mapbox vector tiles, which require a Mapbox account and API access token. Obtain a free access token on the [Mapbox account page](https://www.mapbox.com/studio/account/tokens/)._