错误:无法解决:mapbox的support-core-utils

时间:2019-10-24 14:54:42

标签: android mapbox

添加地图框库时出现错误:

错误:无法解决:mapbox的support-core-utils

我该如何解决并跳过此错误?

android studio版本:3.4.1

我的构建gradle 1:

android {compileSdkVersion 28
defaultConfig {
    applicationId "com.app.mapbox"
    minSdkVersion 19
    targetSdkVersion 28
    versionCode 1
    versionName "1.0"
    testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
    }
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'com.android.support:recyclerview-v7:28.0.0'
implementation "com.mapbox.mapboxsdk:mapbox-android-core:1.3.0"
implementation 'com.mapbox.mapboxsdk:mapbox-android-sdk:8.4.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}

构建gradle 2:

allprojects {
 repositories {
    google()
    jcenter()
    mavenCentral()

}

0 个答案:

没有答案