Closed AlanGood113 closed 1 year ago
Please follow the README on how to setup your download token
The android version works with the previous version: 0.1.9. However, when i update to 0.2.0 it gives those errors. I did not change anything for the token setups. I looked at the update changes for 0.2.0 and saw that you changed the version of the above packages from 2.10.4 to 2.16.0. I'm not sure if that is the reason for the error.
Yes it's trying to download the updated MapBox sdk. Checking your download token on mapbox.com to make sure it is still valid.
I just created a new secret token with the downloads:read property and it still gives the same error. The secret key for android is only added in the gradle.properties right?
Based on the README:
Add the MapBox Downloads token with the downloads:read scope to your gradle.properties file in Android folder to enable downloading the MapBox binaries from the repository. To secure this token from getting checked into source control, you can add it to the gradle.properties of your GRADLE_HOME which is usually at $USER_HOME/.gradle for Mac. This token can be retrieved from your MapBox Dashboard. You can review the Token Guide to learn more about download tokens MAPBOX_DOWNLOADS_TOKEN=sk.XXXXXXXXXXXXXXX
Yes, I have done that. Using version 0.1.9, the project starts up perfectly, however using version 0.2.0 generates all those errors with a working Mapbox token and setup
Are you still having this issue?
No, I just tested it today and all is well. I didnt change anything to the code, perhaps it was a mapbox issue.
FAILURE: Build failed with an exception.
Execution failed for task ':app:checkDebugAarMetadata'.
BUILD FAILED in 3s
[!] Gradle threw an error while downloading artifacts from the network.
Exception: Gradle task assembleDebug failed with exit code 1