You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I learned your mapbox configuration tutorial on youtube, I found an authentication {basic(BasicAuthentication)} error while doing it myself, here is my error message: 1. Unresolved reference: basic; 2. Function invocation 'BasicAuthentication(...)' expected; 3. No value passed for parameter 'function'. Could you please tell me how to modify it, thank you very much.
The text was updated successfully, but these errors were encountered:
This is my settings.gradle code:
pluginManagement {
repositories {
google {
content {
includeGroupByRegex("com\.android.")
includeGroupByRegex("com\.google.")
includeGroupByRegex("androidx.*")
}
}
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven {
url = uri("https://api.mapbox.com/downloads/v2/releases/maven")
// Do not change the username below. It should always be "mapbox" (not your username).
credentials.username = "mapbox"
// Use the secret token stored in gradle.properties as the password
credentials.password = providers.gradleProperty("MAPBOX_DOWNLOADS_TOKEN").get()
authentication { basic(BasicAuthentication) }
}
}
I learned your mapbox configuration tutorial on youtube, I found an authentication {basic(BasicAuthentication)} error while doing it myself, here is my error message: 1. Unresolved reference: basic; 2. Function invocation 'BasicAuthentication(...)' expected; 3. No value passed for parameter 'function'. Could you please tell me how to modify it, thank you very much.
The text was updated successfully, but these errors were encountered: