firebase database error when run app - android

I try to connect my app to firebase database to receiving a list of data from firebase displayed using recyclerview and cardview, but there are many errors when add Dependencies
I get this error when run app .
The first mistake -
Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'. > com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/firebase/iid/zzc.class
this my app build gradle
android {
compileSdkVersion 23
buildToolsVersion "23.0.0"
defaultConfig {
applicationId "com.seu.hh.mm"
minSdkVersion 14
targetSdkVersion 26
versionCode 1
versionName "1.0"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.0.0'
compile 'com.google.firebase:firebase-core:10.0.1'
compile 'com.google.firebase:firebase-database:10.0.1'
compile 'com.firebase:firebase-client-android:2.4.0'
compile 'com.google.firebase:firebase-crash:10.0.1'
compile 'com.google.firebase:firebase-storage:10.0.1'
compile 'com.android.support:recyclerview-v7:23.0.0'
compile 'com.android.support:cardview-v7:23.0.0'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.android.support:support-v4:23.0.0'
compile 'com.firebaseui:firebase-ui-database:2.1.1'
}
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'
}
}
apply plugin: 'com.google.gms.google-services'
this my build gradle project
allprojects {
repositories {
maven {
url "https://maven.google.com"
}
jcenter()
}
}
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
classpath 'com.google.gms:google-services:3.1.0'
}
}
allprojects {
repositories {
jcenter()
}
}
please help me :(
how can solve this problem and make app run

You are mixing compile 'com.firebaseui:firebase-ui-database:2.1.1' with compile 'com.google.firebase:firebase-database:10.0.1' and that's why you have a duplicate.
So first off all you need to remove this line of code:
compile 'com.firebaseui:firebase-ui-database:2.1.1'
Change this lines of code:
compile 'com.android.support:appcompat-v7:23.0.0'
compile 'com.google.firebase:firebase-core:10.0.1'
compile 'com.google.firebase:firebase-database:10.0.1'
compile 'com.google.firebase:firebase-crash:10.0.1'
compile 'com.google.firebase:firebase-storage:10.0.1'
compile 'com.android.support:recyclerview-v7:23.0.0'
compile 'com.android.support:cardview-v7:23.0.0'
with
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.google.firebase:firebase-core:11.0.1'
compile 'com.google.firebase:firebase-database:11.0.1'
compile 'com.google.firebase:firebase-crash:11.0.1'
compile 'com.google.firebase:firebase-storage:11.0.1'
compile 'com.android.support:recyclerview-v7:25.3.1'
compile 'com.android.support:cardview-v7:25.3.1'
In this way you'll have the lates versions.

Related

Unable to merge dex error in android studio 3.0

I am looking for the answer that can help me to solve this problem. I am trying to solve this problem for last 2 days.But still, I didn't get the answer that can solve my problem. I have tried so many solutions which are given here.But no solution worked for me.
Please help me to solve this problem.Any help will be appreciated.
The actual problem is:
Error:Execution failed for task
':app:transformDexArchiveWithExternalLibsDexMergerForGlobalServerDebug'.
java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex
this is occurring every time when I run my existing project on android studio 3.0
I have tried so many solutions for this like:
1- To add mutidexenabled true in gradle
2- To change the version of dependencies
3- To change the compile keyword with the implementation
4- To clean and rebuild the project
5- Delete the Gradle file(this was so difficult because when you again
restarted the project no Gradle file will be auto-regenerated) etc.
I am looking for the solutions which are other than those which are mentioned above. Please help me out. Please...
code of gradle file is given below:
apply plugin: 'com.android.application'
buildscript {
repositories {
mavenCentral()
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'io.fabric.tools:gradle:1.+'
}
}
apply plugin: 'io.fabric'
repositories {
mavenCentral()
maven { url 'https://maven.fabric.io/public' }
flatDir {
dirs 'libs'
}
}
repositories {
maven { url 'http://clojars.org/repo' }
}
android {
signingConfigs {
config {
keyAlias 'example'
keyPassword 'example'
storeFile file('/Users/standarduser/Documents/Android_Projects/example.jks')
storePassword '########'
}
}
compileSdkVersion 25
buildToolsVersion '26.0.2'
defaultConfig {
applicationId 'com.example.example'
minSdkVersion 16
targetSdkVersion 24
versionCode 9 // both Latest
versionName "2.0.7"
multiDexEnabled true
useLibrary 'org.apache.http.legacy'
vectorDrawables.useSupportLibrary = true
signingConfig signingConfigs.config
}
dexOptions {
incremental = true
preDexLibraries = false
javaMaxHeapSize "4g"
}
aaptOptions.cruncherEnabled = false
aaptOptions.useNewCruncher = false
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
android {
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'
}
}
lintOptions{
abortOnError false
}
}
dependencies {
compile files('libs/httpcore-4.4.1.jar')
compile('com.twitter.sdk.android:twitter:2.1.1#aar') { //1.6.1#aar
transitive = true;
}
compile('com.github.afollestad.material-dialogs:core:0.8.5.2#aar') {
transitive = true
}
compile('io.socket:socket.io-client:0.8.2') { // 0.6.3
// excluding org.json which is provided by Android
exclude group: 'org.json', module: 'json'
}
testCompile 'junit:junit:4.12'
compile 'com.writingminds:FFmpegAndroid:0.3.2'
compile 'com.mcxiaoke.volley:library:1.0.19'
compile 'io.nlopez.smartlocation:library:3.2.9'
// compile 'com.android.volley:volley:1.0.0'
compile 'com.google.android.gms:play-services-appinvite:9.8.0'
//9.0.1
compile 'com.google.android.gms:play-services-gcm:9.8.0'
compile 'com.google.android.gms:play-services-location:9.8.0'
compile 'com.google.android.gms:play-services-places:9.8.0'
compile 'com.google.android.gms:play-services-maps:9.8.0'
compile 'com.google.android.gms:play-services-ads:9.8.0'
compile 'com.google.android.gms:play-services-auth:9.8.0'
compile 'com.google.android.gms:play-services-plus:9.8.0'
//noinspection GradleCompatible
compile 'com.android.support:appcompat-v7:25.3.0'
compile 'com.android.support:design:25.0.1'
compile 'de.hdodenhof:circleimageview:2.1.0'
compile 'com.google.code.gson:gson:2.4'
compile 'org.apache.httpcomponents:httpmime:4.3.5'
// implementation 'org.apache.httpcomponents:httpmime:4.3.6'
// implementation 'org.apache.httpcomponents:httpclient-android:4.3.5.1'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.facebook.android:facebook-android-sdk:4.23.0'
compile 'com.pusher:pusher-java-client:1.1.2'
compile 'com.android.support:recyclerview-v7:25.0.1'
compile 'com.android.support:cardview-v7:25.0.1'
compile 'com.daimajia.swipelayout:library:1.2.0#aar'
compile 'pl.droidsonroids.gif:android-gif-drawable:1.1.6'
compile 'com.amazonaws:aws-android-sdk-mobileanalytics:2.2.9'
compile 'com.commit451:PhotoView:1.2.4'
compile 'commons-lang:commons-lang:2.3'
compile 'com.karumi:dexter:2.3.1'
compile 'com.jakewharton:butterknife:8.5.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1'
implementation 'com.android.support:multidex:1.0.2'
compile 'org.ocpsoft.prettytime:prettytime:3.2.7.Final'
compile 'com.koushikdutta.async:androidasync:2.+'
compile 'com.soundcloud.android:android-crop:1.0.1#aar'
compile 'net.danlew:android.joda:2.9.4.1'
compile 'com.albinmathew:photo-crop-library:1.0.3'
compile 'com.amazonaws:aws-android-sdk-core:2.2.+'
compile 'com.amazonaws:aws-android-sdk-s3:2.2.+'
compile 'com.wang.avi:library:2.1.3'
compile 'com.wowza.gocoder.sdk.android:com.wowza.gocoder.sdk:1.0b7#aar'
compile 'com.theartofdev.edmodo:android-image-cropper:2.3.+'
compile('com.crashlytics.sdk.android:crashlytics:2.6.4#aar') {
transitive = true;
}
compile 'com.google.code.gson:gson:2.7'
compile 'com.squareup.retrofit2:retrofit:2.1.0'
// compile 'com.cocosw:bottomsheet:1.+#aar'
compile project(':libbambuser7')
compile 'com.squareup.okhttp:okhttp:2.0.0'
}
apply plugin: 'com.google.gms.google-services'
Add this in your build.gradle
android {
defaultConfig {
multiDexEnabled true
}
}
First sync gradle then
From the Build menu -> press the Clean Project button.
When task completed, press the Rebuild Project button from the Build menu.
compile is now deprecated so it's better to use implementation or api
hope this helps you.
Try this
Use this
com.google.android.gms:play-services:11.6.0
com.google.android.gms:play-services-location:11.6.0
Instead of this
com.google.android.gms:play-services:9.8.0
after Sync -> clean -> rebuild

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.

app:transformClassesWithJarMergingForRelease' while generating release apk

Hello I have developed one app and its completed.Now i am tryting to create release apk but i am getting following exception
Error:Execution failed for task ':app:transformClassesWithJarMergingForRelease'.
> com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: org/apache/http/HttpMessage.class
My app build.gradle is as follows
I am not getting why the error is occured in my app.debug app is running perfectely.I am getting error while creating release apk
apply plugin: 'com.android.application'
repositories { flatDir {
dirs 'libs' }
}
android {
compileSdkVersion 23
buildToolsVersion '23.0.3'
dexOptions {
javaMaxHeapSize "4g" // 2g should be also OK
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
exclude 'org/apache/http/entity/mime/version.properties'
exclude 'META-INF/maven/org.apache.httpcomponents/httpmime/pom.properties'
exclude 'META-INF/maven/org.apache.httpcomponents/httpmime/pom.xml'
}
defaultConfig {
applicationId "com.XXXX.XXXX"
minSdkVersion 16
targetSdkVersion 22
versionCode 1
versionName "1.0"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile(name: 'peb-lib', ext: 'aar')
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.squareup.retrofit:retrofit:1.9.0'
compile 'com.google.android.gms:play-services-safetynet:8.3.0'
compile 'com.squareup.okhttp:okhttp:2.4.0'
compile 'com.squareup.okhttp:okhttp-urlconnection:2.2.0'
compile 'com.google.android.gms:play-services-analytics:7.3.0'
compile 'com.android.support:appcompat-v7:23.0.1'
compile 'com.android.support:cardview-v7:23.4.0'
compile 'com.android.support:design:23.0.1'
compile 'com.android.support:support-v4:23.0.1'
compile 'com.github.bumptech.glide:glide:3.6.0'
compile 'com.daimajia.androidanimations:library:1.0.3#aar'
compile 'com.daimajia.slider:library:1.1.5#aar'
compile 'com.squareup.picasso:picasso:2.3.2'
compile 'com.github.bluejamesbond:textjustify-android:2.1.0'
compile 'com.google.android.gms:play-services:8.4.0'
compile 'com.facebook.android:facebook-android-sdk:4.1.0'
compile 'com.rengwuxian.materialedittext:library:2.1.4'
compile 'com.google.android.gms:play-services-ads:8.4.0'
compile 'com.google.android.gms:play-services-identity:8.4.0'
compile 'com.google.android.gms:play-services-gcm:8.4.0'
compile 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1'
compile 'com.github.d-max:spots-dialog:0.4#aar'
compile 'com.vlonjatg.android:app-tour:1.0'
compile 'com.mobsandgeeks:android-saripaar:1.0.3'
compile 'com.github.traex.rippleeffect:library:1.3'
compile 'com.wdullaer:materialdatetimepicker:2.3.0'
compile 'com.android.support:recyclerview-v7:23.1.1'
compile 'org.jsoup:jsoup:1.8.3'
compile 'me.relex:circleindicator:1.2.1#aar'
compile 'it.sephiroth.android.library.imagezoom:imagezoom:+'
}
Please give solution because i want to publish app on playstore.Thanks in advance
You are using two distinct aar or jar dependencies which includes the apache http client. That is your problem. There are some ways to inspect the content of the jar or aar file like jadx, but since you are a beginner a trail and error way should be fine too.
So first if you don't have jar dependencies please remove this line:
compile fileTree(dir: 'libs', include: ['*.jar'])
Now exclude the apache classes from your dependencies for example:
compile 'com.squareup.retrofit:retrofit:1.9.0'
needs to be converted to:
compile('com.squareup.retrofit:retrofit:1.9.0') {
exclude module: 'httpclient'
}
If it still not compile try the next dependency and so on. That should remove the duplicate classes.
Good luck!

How to fix java.util.zip.ZipException: duplicate entry: bolts/AggregateException.class Android

I am getting this problem after replacing a .aar library with updated .aar.
Logcat
Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.
com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: bolts/AggregateException.class
this is my gradle code.
buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'io.fabric.tools:gradle:1.+'
}
}
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
repositories {
maven { url 'https://maven.fabric.io/public' }
}
android {
compileSdkVersion 23
buildToolsVersion '23.0.1'
defaultConfig {
applicationId "--Package-- Name--"
minSdkVersion 16
targetSdkVersion 22
versionCode 1
versionName "0.0.5"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
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 fileTree(include: ['*.jar'], dir: 'libs')
compile('com.twitter.sdk.android:twitter:1.12.1#aar') {
transitive = true;
}
compile project(':cometchat-sdk')
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:design:23.4.0'
compile 'com.android.support:support-v4:23.4.0'
compile 'com.android.support:multidex:1.0.0'
compile 'com.android.support:recyclerview-v7:23.4.0'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.mikhaellopez:circularimageview:3.0.1'
compile 'com.android.support:cardview-v7:23.4.0'
compile 'com.facebook.android:facebook-android-sdk:4.8.0'
compile 'com.google.android.gms:play-services-plus:9.0.1'
compile 'com.yqritc:recyclerview-flexibledivider:1.2.9'
compile 'com.loopj.android:android-async-http:1.4.9'
compile 'com.google.android.gms:play-services-location:9.0.1'
compile 'com.google.android.gms:play-services-gcm:9.0.1'
compile 'com.github.eneim:Toro:1.2.0'
compile 'com.pnikosis:materialish-progress:1.5'
compile 'com.mcxiaoke.volley:library:1.0.17'
compile 'org.jsoup:jsoup:1.8.1'
compile 'org.apache.httpcomponents:httpcore:4.3.2'
compile 'org.apache.httpcomponents:httpmime:4.3.3'
compile 'com.parse.bolts:bolts-tasks:1.4.0'
compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha1'
compile 'com.readystatesoftware.sqliteasset:sqliteassethelper:+'
testCompile 'junit:junit:4.12'
}

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