daily pastebin goal
38%
SHARE
TWEET

Untitled

a guest Dec 16th, 2018 92 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. apply plugin: 'com.android.application'
  2.  
  3. android {
  4.     compileSdkVersion 28
  5.     buildToolsVersion '28.0.3'
  6.     defaultConfig {
  7.         applicationId "com.hand.measurements"
  8.         minSdkVersion 14
  9.         targetSdkVersion 28
  10.         versionCode 1
  11.         versionName "1.0"
  12.         multiDexEnabled true
  13.     }
  14.     buildTypes {
  15.         debug {
  16.             minifyEnabled false
  17.             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  18.         }
  19.         release {
  20.             minifyEnabled true
  21.             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  22.         }
  23.     }
  24.     productFlavors {
  25.     }
  26. }
  27.  
  28. dependencies {
  29.     implementation fileTree(include: ['*.jar'], dir: 'libs')
  30.     testImplementation 'junit:junit:4.12'
  31.     implementation 'com.android.support:appcompat-v7:28.0.0'
  32.     implementation 'com.android.support:multidex:1.0.3'
  33.     implementation 'com.google.code.gson:gson:2.8.0'
  34.     implementation 'com.squareup.retrofit2:retrofit:2.1.0'
  35.     implementation 'com.squareup.retrofit2:converter-gson:2.1.0'
  36.     implementation 'org.apache.commons:commons-lang3:3.6'
  37.     androidTestImplementation 'com.android.support.test:runner:1.0.2'
  38.     androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  39.     implementation project(':classification')
  40.     implementation files('libs/commons-io-2.6.jar')
  41.     implementation files('libs/poi-3.17.jar')
  42.     implementation files('libs/poi-ooxml-3.17.jar')
  43.     implementation files('libs/poi-ooxml-schemas-3.17.jar')
  44.     implementation files('libs/xmlbeans-2.6.0.jar')
  45. }
  46.    
  47. Information:Gradle tasks [build]
  48. Error:Program type already present: org.apache.xmlbeans.xml.stream.XMLName
  49. Error:Program type already present: org.apache.xmlbeans.xml.stream.Location
  50. Error:com.android.builder.dexing.DexArchiveBuilderException: Failed to process C:base_androidAndroidStudioProjectsMeasurementsapplibsxmlbeans-2.6.0.jar
  51. Error:com.android.builder.dexing.DexArchiveBuilderException: Error while dexing.
  52. Error:com.android.tools.r8.CompilationFailedException: Compilation failed to complete
  53. Error:com.android.tools.r8.utils.AbortException: Error: Program type already present: org.apache.xmlbeans.xml.stream.XMLName
  54. Information:BUILD FAILED in 6m 39s
  55. Information:6 errors
  56. Information:0 warnings
  57. Information:See complete output in console
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top