Android Studio Gradle error “Multiple dex files define…” - android

My Project was working fine, until I added the volley library. Then, it started giving me an error like this:
Error:Execution failed for task
':app:packageAllDebugClassesForMultiDex'.> java.util.zip.ZipException:
duplicate entry: com/android/volley/AuthFailureError.class
What should I do to fix this error?
My App gradle is below
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
useLibrary 'org.apache.http.legacy'
defaultConfig {
applicationId "com.snsepro.mym"
minSdkVersion 16
targetSdkVersion 23
versionCode 1
versionName "1.0"
multiDexEnabled = true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
dexOptions {
javaMaxHeapSize "4g"
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
}
}
ext {
supportLibVersion = '23.1.1' // variable that can be referenced to keep support libs consistent
}
repositories {
maven { url 'https://zendesk.artifactoryonline.com/zendesk/repo' }
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile files('libs/gcm.jar')
compile files('libs/gcm-src.jar')
compile files('libs/picasso-2.5.2.jar')
compile files('libs/jsoup-1.7.3.jar')
compile files('libs/gson-2.2.4.jar')
compile files('libs/volley.jar')
compile files('libs/cometchat-sdk.jar')
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:recyclerview-v7:23.1.1'
compile 'com.prolificinteractive:material-calendarview:0.7.0'
compile 'it.sephiroth.android.library.targettooltip:target-tooltip-library:1.2.9#aar'
compile 'com.github.siyamed:android-shape-imageview:0.9.+#aar'
compile 'com.balysv:material-ripple:1.0.2'
compile 'com.isseiaoki:simplecropview:1.0.8'
compile 'se.emilsjolander:stickylistheaders:2.7.0'
compile 'com.github.ksoichiro:android-observablescrollview:1.6.0'
compile 'com.android.support:design:23.1.1'
compile 'com.android.support:multidex:1.0.0'
compile 'com.google.android.gms:play-services:8.4.0'
compile 'com.google.android.gms:play-services-gcm:8.4.0'
compile 'com.android.support:cardview-v7:23.1.1'
compile 'com.google.android.gms:play-services-ads:8.4.0'
compile 'com.google.android.gms:play-services-identity:8.4.0'
compile('com.zopim.android:sdk:1.1.1') {
exclude group: 'com.squareup.picasso'
}
}
And here is volley library added bulild.gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
useLibrary 'org.apache.http.legacy'
defaultConfig {
applicationId "com.snsepro.mym"
minSdkVersion 16
targetSdkVersion 23
versionCode 1
versionName "1.0"
multiDexEnabled = true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
dexOptions {
javaMaxHeapSize "4g"
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
}
}
ext {
supportLibVersion = '23.1.1' // variable that can be referenced to keep support libs consistent
}
repositories {
maven { url 'https://zendesk.artifactoryonline.com/zendesk/repo' }
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile files('libs/gcm.jar')
compile files('libs/gcm-src.jar')
compile files('libs/picasso-2.5.2.jar')
compile files('libs/jsoup-1.7.3.jar')
compile files('libs/gson-2.2.4.jar')
compile files('libs/volley.jar')
compile files('libs/cometchat-sdk.jar')
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:recyclerview-v7:23.1.1'
compile 'com.prolificinteractive:material-calendarview:0.7.0'
compile 'it.sephiroth.android.library.targettooltip:target-tooltip-library:1.2.9#aar'
compile 'com.github.siyamed:android-shape-imageview:0.9.+#aar'
compile 'com.balysv:material-ripple:1.0.2'
compile 'com.isseiaoki:simplecropview:1.0.8'
compile 'se.emilsjolander:stickylistheaders:2.7.0'
compile 'com.github.ksoichiro:android-observablescrollview:1.6.0'
compile 'com.android.support:design:23.1.1'
compile 'com.android.support:multidex:1.0.0'
compile 'com.google.android.gms:play-services:8.4.0'
compile 'com.google.android.gms:play-services-gcm:8.4.0'
compile 'com.android.support:cardview-v7:23.1.1'
compile 'com.google.android.gms:play-services-ads:8.4.0'
compile 'com.google.android.gms:play-services-identity:8.4.0'
compile('com.zopim.android:sdk:1.1.1') {
exclude group: 'com.squareup.picasso'
}
compile 'com.mcxiaoke.volley:library-aar:1.0.1'
}

What library is your compile files('libs/volley.jar') If it is the same one , you will definitely get this error. Try removing either one in that case.

Related

Keep getting Manifest Tasks does not support the manifestOutputFile property any more, please use the manifestOutputDirectory instead.

After 2 months i reopened a project that needs to be updated but i keep getting this error:
Gradle sync failed: Manifest Tasks does not support the manifestOutputFile property any more, please use the manifestOutputDirectory instead.
For more information, please check https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html
Consult IDE log for more details (Help | Show Log)
And I use Gradle:3.0.1
This is app gradle file:
apply plugin: 'com.android.application'
apply plugin: 'io.sentry.android.gradle'
repositories {
maven { url "https://jitpack.io" }
maven { url 'https://dl.bintray.com/drummer-aidan/maven' }
maven { url "http://dl.bintray.com/tbruyelle/tbruyelle" }
mavenCentral()
jcenter()
maven {
google()
}}
android {
signingConfigs {
config {
keyAlias 'user'
keyPassword 'pas'
storeFile file('../extra/file.jks')
storePassword 'pass'
}
}
compileSdkVersion 27
buildToolsVersion '27.0.2'
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/license.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/notice.txt'
exclude 'META-INF/ASL2.0'
}
defaultConfig {
applicationId "com.app.go"
targetSdkVersion 27
versionCode 19
versionName "1.2.0"
multiDexEnabled true
}
dexOptions {
javaMaxHeapSize "4g"
}
productFlavors {
// Define separate dev and prod product flavors.
prod {
// The actual minSdkVersion for the application.
minSdkVersion 19
}
}
flavorDimensions "default"
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
}
}
}
dependencies {
compile project(':sweet_alert_dialog')
compile 'com.google.android.gms:play-services-maps:11.6.2'
compile 'com.google.android.gms:play-services-location:11.6.2'
compile 'com.helpshift:android-aar:3.8.0'
compile 'com.google.maps.android:android-maps-utils:0.4'
compile 'com.google.code.gson:gson:2.8'
compile 'com.loopj.android:android-async-http:1.4.9'
compile 'de.greenrobot:eventbus:2.4.0'
compile 'com.balysv:material-ripple:1.0.2'
compile 'pl.charmas.android:android-reactive-location:0.9#aar'
compile 'io.reactivex:rxjava:1.1.5'
compile 'com.dlazaro66.wheelindicatorview:WheelIndicatorView:1.0.0'
compile 'com.rengwuxian.materialedittext:library:2.1.4'
compile 'com.jakewharton:butterknife:8.8.1'
compile 'de.hdodenhof:circleimageview:1.3.0'
compile 'joda-time:joda-time:2.9.1'
compile 'com.google.android.gms:play-services-gcm:11.6.2'
compile 'com.google.firebase:firebase-core:11.6.2'
compile 'com.google.firebase:firebase-messaging:11.6.2'
compile 'com.minimize.library:seekbar-compat:0.2.3'
compile 'com.afollestad.material-dialogs:core:0.9.0.2'
compile 'com.googlecode.libphonenumber:libphonenumber:7.1.1'
compile 'com.android.support:cardview-v7:27.0.2'
compile 'com.android.support:support-v4:27.0.2'
compile 'com.android.support:appcompat-v7:27.0.2'
compile 'com.android.support:design:27.0.2'
compile 'fr.avianey.com.viewpagerindicator:library:2.4.1#aar'
compile 'com.tbruyelle.rxpermissions:rxpermissions:0.8.0#aar'
compile 'com.braintreepayments.api:braintree:2.4.1'
compile 'com.braintreepayments:card-form:3.0.1'
compile 'io.smooch:core:5.7.1'
compile 'io.smooch:ui:5.7.1'
compile 'us.belka:androidtoggleswitch:1.1.1'
compile 'com.github.yasevich:endless-recycler-view:1.1.0'
compile 'com.android.support:multidex:1.0.2'
compile 'com.github.bumptech.glide:glide:4.3.1'
compile 'de.cketti.mailto:email-intent-builder:1.0.0'
compile 'com.squareup.retrofit2:retrofit:2.3.0'
compile 'com.squareup.retrofit2:converter-gson:2.3.0'
compile 'com.squareup.okhttp3:logging-interceptor:3.9.0'
compile 'com.github.jrvansuita:CheckNewAppVersionAvailable:v1.0.0'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.wdullaer:materialdatetimepicker:3.2.0'
compile 'io.sentry:sentry-android:1.2.0'
testCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.2'
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.5.2'
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.2'
}
apply plugin: 'io.sentry.android.gradle'
This was causing the error, removing it solved it.

Android Studio error import library

I have 2 projects. in first - library (android-range-seek-bar from GitHub) work fine
but after copy to second project - I have errors. Very strange errors (for me). Rebuild, clear, invalidate caches not helped :(
add dependencies in app gradle:
compile project(':rangeseekbar')
and settings.gradle is:
include ..., ':rangeseekbar', ...
project(':rangeseekbar').projectDir = new File('app/libs/rangeseekbar')
my xml is:
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:rsb="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
...
<org.florescu.android.rangeseekbar.RangeSeekBar
android:id="#+id/yourage"
android:layout_width="180dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginRight="15dp"
android:layout_weight="0.74"
rsb:absoluteMaxValue="60"
rsb:absoluteMinValue="14"
rsb:activateOnDefaultValues="true"
rsb:barHeight="2dp"
rsb:internalPadding="2dp"
rsb:singleThumb="true"/>
...
</ScrollView>
But Android studio tell me: [editor screenshot with problem] https://i.stack.imgur.com/7fPDt.jpg
so i have added from first project 3 libs: awesomevalidation, rangeseekbar, wizardpager - all this libs imported with error: [screenshot] https://i.stack.imgur.com/W8n6w.jpg
FIRST app (normal) gradle:
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion '25.0.3'
defaultConfig {
applicationId "bla.bla.bla"
minSdkVersion 15
targetSdkVersion 23
versionCode 10
versionName '1.0'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
productFlavors {
}
lintOptions {
checkReleaseBuilds false
}
useLibrary 'org.apache.http.legacy'
}
dependencies {
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support:support-v13:25.3.1'
compile 'com.android.support:gridlayout-v7:25.3.1'
compile 'com.android.support:design:25.3.1'
compile project(':fancybuttons')
compile project(':ckchangelog')
compile project(':appintro')
compile project(':rangeseekbar')
compile project(':segmentedcontrol')
compile project(':awesomevalidation')
compile project(':wizardpager')
compile project(':bubbleview')
compile project(':dialogplus')
compile project(':processbutton')
compile project(':androidquery')
}
SECOND app (problem) gradle:
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
buildToolsVersion "26.0.0"
defaultConfig {
applicationId "bla.bla"
targetSdkVersion 26
versionCode 1
versionName "1"
multiDexEnabled true
}
productFlavors {
dev {
minSdkVersion 16
}
prod {
minSdkVersion 16
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
dataBinding {
enabled = true
}
dexOptions {
javaMaxHeapSize "2g"
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES.txt'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/notice.txt'
exclude 'META-INF/license.txt'
exclude 'META-INF/dependencies.txt'
exclude 'META-INF/LGPL2.1'
}
}
dependencies {
compile 'com.android.support:appcompat-v7:26.0.0-alpha1'
compile 'com.android.support:mediarouter-v7:26.0.0-alpha1'
compile 'com.android.support:support-v13:26.0.0-alpha1'
compile 'com.google.android.gms:play-services:11.0.0'
compile 'com.android.support:design:26.0.0-alpha1'
compile 'com.android.support:support-annotations:26.0.0-alpha1'
compile 'com.squareup.retrofit2:retrofit:2.2.0'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.rengwuxian.materialedittext:library:2.1.4'
compile 'com.google.code.gson:gson:2.8.0'
compile 'com.kbeanie:image-chooser-library:1.6.0#aar'
compile 'com.mobsandgeeks:android-saripaar:2.0.3'
compile 'com.wdullaer:materialdatetimepicker:3.1.3'
compile 'com.jaedongchicken:ytplayer:1.2.0'
compile 'com.daimajia.slider:library:1.1.5#aar'
compile 'com.android.support:cardview-v7:26.0.0-alpha1'
compile 'com.android.support:recyclerview-v7:26.0.0-alpha1'
compile 'com.squareup.okio:okio:1.11.0'
compile 'com.squareup.okhttp3:okhttp:3.6.0'
compile 'com.squareup.retrofit2:converter-gson:2.2.0'
compile 'com.intellij:annotations:12.0'
compile 'com.patrickpissurno:ripple-effect:1.3.1'
compile 'com.android.support:multidex:1.0.1'
compile 'com.google.maps.android:android-maps-utils:0.4.3'
compile 'com.gvillani:pinnedlist:0.9.2'
compile 'com.github.lzyzsd:circleprogress:1.2.1'
compile 'com.github.smart-fun:XmlToJson:1.2.1'
compile 'com.google.guava:guava:22.0-android'
compile project(':storagechooser')
compile project(':awesomevalidation')
compile project(':rangeseekbar')
compile project(':wizardpager')
}

Can't Build apk but I can run app on an emulator

As I mentioned the app runs pretty fine on the emulator but I cant build apk,
the problem should be in this build.gradle file ,
I rearranged it after I had some other error but I didn't quite hit the mark
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion "25.0.1"
defaultConfig {
applicationId "com.example.apak.flancer"
minSdkVersion 16
targetSdkVersion 25
versionCode 1
versionName "1.0"
multiDexEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/license.txt'
exclude 'META-INF/notice.txt'
}
configurations { all*.exclude group: 'com.android.support', module: 'support-v4'
all*.exclude group: 'com.android.support', module: 'support-annotations' }
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:25.3.0'
compile 'com.android.support.constraint:constraint-layout:1.0.1'
compile 'com.google.firebase:firebase-auth:10.2.0'
compile 'com.google.firebase:firebase-database:10.2.0'
compile 'com.google.firebase:firebase-storage:10.2.0'
compile 'com.google.firebase:firebase-messaging:10.2.0'
compile 'com.android.support:design:25.3.0'
compile 'com.android.support:support-v4:25.3.0'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.firebaseui:firebase-ui:0.6.0'
compile 'com.android.support:recyclerview-v7:25.3.0'
testCompile 'junit:junit:4.12'
}
apply plugin: 'com.google.gms.google-services'
this is the updated build.grandle(app level):
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
defaultConfig {
applicationId "com.example.apak.flancer"
minSdkVersion 16
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support:design:25.3.1'
compile 'com.android.support:support-v4:25.3.1'
compile 'com.android.support:recyclerview-v7:25.3.1'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.google.firebase:firebase-auth:10.2.0'
compile 'com.google.firebase:firebase-database:10.2.0'
compile 'com.google.firebase:firebase-storage:10.2.0'
compile 'com.google.firebase:firebase-messaging:10.2.0'
compile 'com.google.android.gms:play-services-auth:10.2.0'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.firebaseui:firebase-ui:1.0.1'
testCompile 'junit:junit:4.12'
}
apply plugin: 'com.google.gms.google-services'
The Error I get is:
Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.
> com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/android/gms/auth/api/signin/internal/zzf.class

Could not get Resource guava.jar Tag mismatch

I am getting this error during gradle build.I am using android studio 2.1 beta 2.
Error:A problem occurred configuring project ':app'.
> Could not download guava.jar (com.google.guava:guava:19.0)
> Could not get resource 'https://jcenter.bintray.com/com/google/guava/guava/19.0/guava-19.0.jar'.
> Tag mismatch!
I have tried adding guava dependency in build.gradle but still it is showing same error. This is my build.gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
packagingOptions {
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
}
defaultConfig {
applicationId "mappr.co"
minSdkVersion 12
targetSdkVersion 23
versionCode 9
versionName "5.5"
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
useLibrary 'org.apache.http.legacy'
}
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
provided 'org.parceler:parceler:0.2.7'
compile group: 'org.apache.httpcomponents', name: 'httpclient-android', version: '4.3.5.1'
compile('org.apache.httpcomponents:httpmime:4.3') {
exclude module: "httpclient"
}
**compile 'com.google.guava:guava:19.0'**
compile 'com.android.support:appcompat-v7:23.2.1'
compile 'com.android.support:recyclerview-v7:23.2.1'
compile 'com.google.android.gms:play-services-gcm:8.4.0'
compile 'com.google.android.gms:play-services-maps:8.4.0'
compile 'com.google.android.gms:play-services-location:8.4.0'
compile 'com.mcxiaoke.volley:library:1.0.17'
compile 'com.makeramen:roundedimageview:2.2.1'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.android.support:design:23.2.1'
compile 'com.android.support:cardview-v7:23.2.1'
compile 'org.parceler:parceler-api:0.2.7'
compile 'com.github.PhilJay:MPAndroidChart:v2.0.9'
compile 'com.github.nkzawa:socket.io-client:0.5.0'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.android.support:support-v4:23.2.1'
}

Multidex duplicate entry with Joda Time

I just enabled Multidex support for my app and now I am getting this error from my Joda time dependency.
I am also using a library gson-jodatime-serialisers that depends on Joda. Not sure if it's causing the duplicate issue.
Error:Execution failed for task ':app:packageAllDebugClassesForMultiDex'.
> java.util.zip.ZipException: duplicate entry: org/joda/time/base/AbstractDateTime.class
apply plugin: 'com.android.application'
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
defaultConfig {
applicationId "com.wake.social"
minSdkVersion 14
targetSdkVersion 22
versionCode 1
versionName "1.0"
manifestPlaceholders = [ localApplicationId:applicationId ]
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
repositories {
jcenter()
mavenCentral()
maven {
url "https://oss.sonatype.org/content/repositories/snapshots/"
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:22.1.1'
compile('com.mikepenz:materialdrawer:2.9.8#aar') {
transitive = true
}
compile 'com.mikepenz.iconics:octicons-typeface:2.2.0#aar'
compile 'com.mikepenz:community-material-typeface:1.0.0#aar'
compile 'com.squareup.okhttp:okhttp:2.4.0'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.jakewharton:butterknife:6.1.0'
compile 'com.facebook.android:facebook-android-sdk:4.1.0'
compile 'com.squareup.retrofit:retrofit:1.9.0'
compile('de.keyboardsurfer.android.widget:crouton:1.8.5#aar') {
exclude group: 'com.google.android', module: 'support-v4'
}
compile 'com.afollestad:material-dialogs:0.7.4.2'
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.3.1'
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.3.1'
compile 'com.github.satyan:sugar:1.3.1'
compile 'com.google.android.gms:play-services-gcm:7.5.0'
compile 'eu.inloop:easygcm:1.4.0#aar'
compile 'me.leolin:ShortcutBadger:1.1.1#aar'
compile 'com.getbase:floatingactionbutton:1.9.0'
compile 'com.mobsandgeeks:android-saripaar:2.0-SNAPSHOT'
compile 'com.squareup:otto:1.3.7'
compile 'uk.co.chrisjenx:calligraphy:2.1.0'
compile 'com.github.navasmdc:MaterialDesign:1.5#aar'
compile 'com.github.traex.rippleeffect:library:1.3'
compile ("com.doomonafireball.betterpickers:library:1.6.0") {
exclude group: 'com.android.support', module: 'support-v4'
}
compile 'net.danlew:android.joda:2.7.2'
compile 'com.rengwuxian.materialedittext:library:2.1.3'
compile 'com.android.support:multidex:1.0.0'
compile ''com.fatboyindustrial.gson-jodatime-serialisers:gson-jodatime-serialisers:1.1.0' //this depends on it. Could be causing the problem.'
}
compile ''com.fatboyindustrial.gson-jodatime-serialisers:gson-jodatime-serialisers:1.1.0'
//this depends on it. Could be causing the problem.'
According to mvnrespository.com, this library depends on joda-time itself so it may be a duplicate entry
compile ("com.fatboyindustrial.gson-jodatime-serialisers:gson-jodatime-serializers:1.1.0") {
exclude module: 'joda-time'
}
Should do the trick

Categories

Resources