Hey,
just wanted to post as a newcomer to the project: cloning the repository and going by the setup instructions is unfortunately not enough, Android Studio and mapbox in it will need a mapbox key in order to be able to download the assets; otherwise, you’ll get an error that Android Studio thinks that it’s offline or something, and clicking on the url within will give you a 401 Unauthorized error.
What you’ll need is to set up a MAPBOX_DOWNLOADS_TOKEN
in gradle.properties
, that is a secret key, and a mapbox_access_token
properly set up with your public key in app/src/main/res/values/mapbox-token.xml
.
See the instructions here for getting a public/secret key: