diff options
author | Langston Smith <langston.smith@mapbox.com> | 2017-10-10 17:37:38 -0700 |
---|---|---|
committer | Langston Smith <langston.smith@mapbox.com> | 2017-10-10 17:37:38 -0700 |
commit | 16dff9e79a3ea8d66f26713bbfe3467fc07dc712 (patch) | |
tree | 3764582d392cf9a3706866d0a1264c963017b338 | |
parent | 3a3f913c376c1afbe22fe832bd7182a01bb1d423 (diff) | |
download | qtlocation-mapboxgl-16dff9e79a3ea8d66f26713bbfe3467fc07dc712.tar.gz |
text reorder
-rw-r--r-- | platform/android/README.md | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/platform/android/README.md b/platform/android/README.md index 65ba20674a..eb9cb1b1b0 100644 --- a/platform/android/README.md +++ b/platform/android/README.md @@ -14,13 +14,18 @@ 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/) -#### Open project in Android Studio +#### Opening the project in Android Studio -#### Using the SDK snapshot +We recommend that you open this repository's `android` folder in Android Studio. +mapbox-gl-native > platform > android +Once you open it in Android Studio and switch to the Android view in the left-hand sidebar, you should see the `MapboxGLAndroidSDK` and `MapboxGLAndroidSDKTestApp` folders. +Alternatively, you can use the Terminal application to open the project in Android Studio. Open your Terminal application, navigate to this repository's root folder, and run the `make aproj` command. +#### Using the SDK snapshot + Instead of using the latest stable release of the Mapbox Android SDK, you can use a "snapshot" or the beta version if there is one available. Our snapshots are built every time a Github pull request adds code to this repository's `master` branch. If you'd like to use a snapshot build, your Android project's gradle file should have -SNAPSHOT appended to the SDK version number. For example `5.2.0-SNAPSHOT` or: ```java @@ -90,18 +95,6 @@ $ sudo apt-get install -y build-essential curl lib32stdc++6 lib32z1 pkg-config p - [xcpretty](https://github.com/supermarin/xcpretty) (`gem install xcpretty`) -#### Open project in Android Studio - -We recommend that you open this repository's `android` folder in Android Studio. - -mapbox-gl-native > platform > android - -Once you open it in Android Studio and switch to the Android view in the left-hand sidebar, you should see the `MapboxGLAndroidSDK` and `MapboxGLAndroidSDKTestApp` folders. - - -Alternatively, you can use the Terminal application to open the project in Android Studio. Open your Terminal application, navigate to this repository's root folder, and run the `make aproj` command. - - ##### macOS Execute the following to generate the required build files and open the project with Android Studio: |