简体   繁体   中英

I m Using volleyplus and volley libraries in Signal android project

 android {
 compileSdkVersion 23
 buildToolsVersion '26.0.2'

 defaultConfig {
    applicationId "testing.gps_service"
    minSdkVersion 11
    targetSdkVersion 22
    versionCode 1
    versionName "1.0"
            }
 buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 
       'proguard-rules.pro'
    }
    }
    }

  dependencies {
  compile fileTree(dir: 'libs', include: ['*.jar'])
  compile 'com.android.support:appcompat-v7:23.4.0'

  compile 'com.android.volley:volley:1.0.0'
  compile 'dev.dworks.libs:volleyplus:+'

  compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha7'
  testCompile 'junit:junit:4.12'
  compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
  }
  repositories 
  {
  mavenCentral()
  google()
  }
  apply plugin: 'kotlin-android-extensions'
  -------------------------------------------------------
  ## I'm new to Android, currently working on FYP, as I run my project, an  
   error is occurred.##

Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'. java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex

Compile with

compile 'dev.dworks.libs:volleyplus:0.1.4'

hope that will help

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM