From 24358fa3c964ead1997c31fa4bd87309d11aa233 Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Tue, 16 Feb 2021 12:40:12 +0800 Subject: [PATCH] add step for getting a mapbox token for https://github.com/meshtastic/Meshtastic-Android/issues/246 --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index e0a5fd85a..e7355a6ed 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,12 @@ Run the following commands to do so: cp ./app/special/curfirmwareversion.xml ./app/src/main/res/values/ ``` +* (unfortunately) you need to get a (free) mapbox developer token [here](https://docs.mapbox.com/android/maps/guides/install/) and put that token in your user gradle.properties. +``` +~/development/meshtastic/MeshUtil$ cat ~/.gradle/gradle.properties +MAPBOX_DOWNLOADS_TOKEN=sk.yourtokenherexxx +``` + * Now you should be able to select "Run / Run" in the IDE and it will happily start running on your phone or the emulator. Note: The emulators don't support bluetooth, so some features can not be used in that environment.