我的 Kotlin 应用程序的 Mapbox 实现存在问题
我遵循了文档:https://docs.mapbox.com/android/maps/guides/install/#add-the-dependency
差不多了,第 2 步在我的 build.gradle (项目)中,如下所示:
allprojects {
repositories {
gradlePluginPortal()
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) }
}
}
}
不幸的是在构建过程中我遇到了冲突问题:
从输入中找到路径“lib/arm64-v8a/libc++_shared.so”的 2 个文件: