java.lang.RuntimeException:com.android.builder.dexing.DexArchiveMergerException:无法合并dex ||安卓系统

时间:2018-11-28 10:04:32

标签: android mapbox mapbox-android

** 在运行代码时,我遇到此错误“无法在Android Studio中合并dex || Android

这基本上是在Android应用程序中使用地图**

这是Build.gradle代码

android {
    compileSdkVersion 26
    defaultConfig {
        applicationId "com.example.npatel7.carparking"
        minSdkVersion 24
        targetSdkVersion 26
        versionCode 1
        versionName "image1.0"
        multiDexEnabled true
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
    repositories {
        mavenCentral()
    }
}

请帮助我

0 个答案:

没有答案
相关问题