Why do I keep getting `isBoxedPrimitive()` error when building the project? - android

Error:Execution failed for task ':app:compileDebugJavaWithJavac'. > java.lang.NoSuchMethodError: com.squareup.javapoet.TypeName.isBoxedPrimitive()Z
I keep getting the same error when using auto-value-parcel and auto-value-firebase. The project works without adding their dependencies and usages. But when I add them back the problem returns. Please take a look at my app/build.gradle file
apply plugin: 'com.android.application'
apply plugin: 'me.tatarka.retrolambda'
android {
compileSdkVersion 26
buildToolsVersion "26.0.1"
defaultConfig {
applicationId "PACKAGE"
minSdkVersion 21
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
exclude 'META-INF/rxjava.properties'
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile 'com.google.code.findbugs:jsr305:3.0.1'
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
testCompile 'junit:junit:4.12'
// Android Support Libraries
compile 'com.android.support:appcompat-v7:26.0.1'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.android.support:design:26.0.1'
compile 'com.android.support:recyclerview-v7:26.0.1'
compile 'com.android.support:exifinterface:26.0.1'
// JavaPoet
annotationProcessor 'com.squareup:javapoet:1.8.0'
provided 'com.squareup:javapoet:1.8.0'
// Dagger 2
compile 'com.google.dagger:dagger:2.4'
provided 'javax.annotation:jsr250-api:1.0'
annotationProcessor 'com.google.dagger:dagger-compiler:2.4'
// AutoValue
provided 'com.google.auto.value:auto-value:1.5'
annotationProcessor 'com.google.auto.value:auto-value:1.5'
// AutoParcel
annotationProcessor 'com.ryanharter.auto.value:auto-value-parcel:0.2.5'
// AutoValue Firebase
annotationProcessor 'me.mattlogan.auto.value:auto-value-firebase:1.1.0'
provided 'me.mattlogan.auto.value:auto-value-firebase-annotation:1.1.0'
// Firebase
compile 'com.google.firebase:firebase-database:11.4.0'
compile 'com.google.firebase:firebase-auth:11.4.0'
compile 'com.github.frangsierra:rx2firebase:1.1.3'
// RxJava 2
compile 'io.reactivex.rxjava2:rxjava:2.1.0'
compile 'com.akaita.java:rxjava2-debug:1.2.0'
// RxAndroid 2
compile 'io.reactivex.rxjava2:rxandroid:2.0.1'
// RxLifecycle 2
compile 'com.trello.rxlifecycle2:rxlifecycle-android:2.0.1'
// RxBinding 2
compile 'com.jakewharton.rxbinding2:rxbinding:2.0.0'
// Simple Stack
compile 'com.github.Zhuinden:simple-stack:1.7.2'
// Butterknife
compile 'com.jakewharton:butterknife:8.4.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0'
// Timber
compile 'com.jakewharton.timber:timber:4.3.1'
// SwipyRefreshLayout
compile 'com.github.orangegangsters:swipy:1.2.3#aar'
// Glide
compile 'com.github.bumptech.glide:glide:4.1.1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.1.1'
// Glide Transformations
compile 'jp.wasabeef:glide-transformations:2.0.2'
// Calligraphy
compile 'uk.co.chrisjenx:calligraphy:2.2.0'
// Lorem Ipsum Generator
compile 'de.sven-jacobs:loremipsum:1.0'
// Pretty Time
compile 'org.ocpsoft.prettytime:prettytime:4.0.1.Final'
// Flexible AdannotationProcessorers
compile 'eu.davidea:flexible-adapter:5.0.0-rc2'
// Animated Checkbox
compile 'com.hanks.animatecheckbox:library:0.1'
// EventBus
compile 'org.greenrobot:eventbus:3.0.0'
// Parceler
compile 'org.parceler:parceler-api:1.1.6'
annotationProcessor 'org.parceler:parceler:1.1.6'
//PhotoView
compile 'com.github.chrisbanes:PhotoView:2.0.0'
// Android Image Cropper
compile 'com.theartofdev.edmodo:android-image-cropper:2.4.4'
// File Chooser
compile 'com.droidninja:filepicker:2.0.8#aar'
// Intl Phone Input
compile 'net.rimoto:intlphoneinput:1.0.1'
}
apply plugin: 'com.google.gms.google-services'

Related

Places API setup is giving an error during setup in build.gradle

As soon as I add
compile 'com.google.android.libraries.places:places:1.0.0'
It starts giving me error
Cause: duplicate entry: com/bumptech/glide/GeneratedAppGlideModule.class
My build.gradle code is
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
buildToolsVersion "26.0.0"
defaultConfig {
applicationId "com.videep.carpool"
minSdkVersion 16
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
multiDexEnabled true
configurations.all {
resolutionStrategy.force 'com.google.code.findbugs:jsr305:1.3.9'
}
}
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'
})
//noinspection GradleCompatible
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.google.firebase:firebase-core:11.0.4'
compile 'com.google.firebase:firebase-database:11.0.4'
compile 'com.google.firebase:firebase-auth:11.0.4'
compile 'com.google.firebase:firebase-storage:11.0.4'
compile 'com.firebase:geofire-android:2.1.1'
compile 'com.google.android.gms:play-services:11.0.4'
compile 'com.github.bumptech.glide:glide:4.3.1'
compile 'com.android.support:design:26.1.0'
compile 'com.android.support:cardview-v7:26.1.0'
compile 'com.github.jd-alexander:library:1.1.0'
testCompile 'junit:junit:4.12'
compile 'com.google.android.libraries.places:places:1.0.0'
}
apply plugin: 'com.google.gms.google-services'
Add Dependencies for Glide with the latest version.
repositories {
mavenCentral()
google()
}
dependencies {
implementation 'com.github.bumptech.glide:glide:4.9.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'
}
This issue is in glide library. It is fixed in latest version. Please check link for reference.
Use the latest version of glide. This issue is fixed.
dependencies {
implementation 'com.github.bumptech.glide:glide:4.9.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'
}
for more detail refer here Glide

Duplicate values issue in Android Studio gradle

I have been trying to add a dependency of com.shamanland:fonticon:0.1.8 but as I add this I get the error
error: duplicate value for resource 'attr/textSize' with config ''.
error: resource previously defined here.
There are too many values with duplication issue to remove the values.
I have tried changing compileSdkVersion and targetSdkVersion to 25 but this did not help either.
I tried to use exclude but I don't know what to exclude exactly. Can anyone help me with this issue? Thank you.
My gradle:
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
android {
configurations {
all*.exclude module: 'okhttp'
all*.exclude module: 'okio'
}
compileSdkVersion 27
buildToolsVersion '27.0.2'
defaultConfig {
applicationId "com.abc.def"
vectorDrawables.useSupportLibrary = true
minSdkVersion 17
targetSdkVersion 27
versionCode 15
versionName "1.2.4"
multiDexEnabled = true
}
buildTypes {
release {
lintOptions {
disable 'MissingTranslation'
checkReleaseBuilds false
}
minifyEnabled false
}
}
aaptOptions {
cruncherEnabled = false
}
dexOptions {
javaMaxHeapSize "2g"
}
}
repositories {
maven { url 'https://maven.fabric.io/public' }
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:design:27.0.2'
compile 'com.android.support:appcompat-v7:27.0.2'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.android.support:percent:27.0.2'
compile 'com.squareup.retrofit2:adapter-rxjava:2.1.0'
compile 'com.squareup.okhttp3:logging-interceptor:3.4.1'
compile 'com.jakewharton:butterknife:8.5.1'
compile 'com.google.code.gson:gson:2.6.2'
compile 'com.squareup.retrofit2:retrofit:2.1.0'
compile 'com.squareup.retrofit2:converter-gson:2.1.0'
compile 'com.android.support:recyclerview-v7:27.0.2'
compile 'com.android.support:cardview-v7:27.0.2'
provided 'org.projectlombok:lombok:1.16.16'
compile 'pl.droidsonroids.gif:android-gif-drawable:1.2.8'
annotationProcessor "org.projectlombok:lombok:1.16.16"
compile 'com.google.android.gms:play-services-maps:11.0.1'
testCompile 'junit:junit:4.12'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.6.0'
compile 'com.chauthai.swipereveallayout:swipe-reveal-layout:1.4.0'
compile 'com.theartofdev.edmodo:android-image-cropper:2.4.+'
compile 'com.mikhaellopez:circularimageview:3.0.2'
compile 'com.wdullaer:materialdatetimepicker:3.2.2'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.github.jd-alexander:library:1.1.0'
compile 'com.google.android.gms:play-services-location:11.0.1'
compile 'com.google.android.gms:play-services-maps:11.0.1'
compile 'com.yarolegovich:discrete-scrollview:1.2.0'
compile 'com.miguelcatalan:materialsearchview:1.4.0'
compile 'com.wang.avi:library:2.1.3'
compile 'com.google.firebase:firebase-core:11.0.1'
compile 'com.google.firebase:firebase-messaging:11.0.1'
compile 'com.android.support:multidex:1.0.0'
compile 'com.github.ksoichiro:android-observablescrollview:1.5.0'
compile 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1'
compile 'com.hedgehog.ratingbar:app:1.1.2'
compile 'com.eftimoff:android-pathview:1.0.8#aar'
compile('com.crashlytics.sdk.android:crashlytics:2.6.8#aar') {
transitive = true;
}
compile 'uk.co.chrisjenx:calligraphy:2.3.0'
apply plugin: 'com.google.gms.google-services'
compile 'com.stone.vega.library:VegaLayoutManager:1.0.1'
compile project(':library')
compile 'me.henrytao:smooth-app-bar-layout:24.1.0.0'
compile project(':PayTabs_SDK')
/*----------------payfort sdk------------*/
implementation 'com.victor:lib:1.0.1'
implementation 'com.shamanland:fonticon:0.1.8'
implementation('com.nispok:snackbar:2.11.+') {
// exclusion is not necessary, but generally a good idea.
exclude group: 'com.google.android', module: 'support-v7'
}
implementation 'com.google.guava:guava:18.0'
implementation 'org.bouncycastle:bcprov-jdk16:1.46'
implementation 'commons-codec:commons-codec:1.10'
implementation project(':FORTSDKv1.4.4')
}
It may be due to the implementation of other external dependency. In my case, I try removing the external dependency one by one. Most Probably while adding dependency the same dependency was used on other external dependency. So try removing library dependency one by one and see which was causing problem.

Duplicate File Exception when using RxAndroid with retrofit

I am trying to use Retrofit with RxAndroid, so I imported the the required dependencies as shown below. but whn I run the App, I receive the following
error.:
Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'.
> com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK META-INF/rxjava.properties
File1: C:\Users\PC-Amryi\.gradle\caches\modules-2\files-2.1\io.reactivex\rxjava\1.1.9\e4362e62f1ba92e360b197d6d7ffae67e5ecae9a\rxjava-1.1.9.jar
File2: C:\Users\PC-Amryi\.gradle\caches\modules-2\files-2.1\io.reactivex.rxjava2\rxjava\2.0.0\5151c737c01616c372c3d00ab145868ede10e826\rxjava-2.0.0.jar
to solve this issue I tried to use different RxAndroid and RxJava libs as follows:
//RxJava and RxAndroid
compile 'io.reactivex:rxandroid:1.2.1'
compile 'io.reactivex:rxjava:1.1.9'
//compile 'com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0'
//compile 'io.reactivex.rxjava2:rxjava:2.0.1'
//compile 'io.reactivex.rxjava2:rxandroid:2.0.1'
compile 'com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0'
but I still get the same error
Please have a look at the gradle file poted below, and please help me to solve it
gradle:
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion "26.0.1"
defaultConfig {
applicationId "com.example.pc_amr.rxretrofit_1"
minSdkVersion 16
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
//to enable Java-8
jackOptions {
enabled true
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
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.constraint:constraint-layout:1.0.2'
testCompile 'junit:junit:4.12'
//RxJava and RxAndroid
compile 'io.reactivex:rxandroid:1.2.1'
compile 'io.reactivex:rxjava:1.1.9'
//compile 'com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0'
//compile 'io.reactivex.rxjava2:rxjava:2.0.1'
//compile 'io.reactivex.rxjava2:rxandroid:2.0.1'
compile 'com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0'
compile 'com.squareup.okhttp3:logging-interceptor:3.4.0'
//compile 'com.squareup.retrofit2:retrofit:2.3.0'
compile 'com.squareup.retrofit2:converter-gson:2.1.0'
compile 'com.squareup:otto:1.3.8'
compile 'com.google.code.gson:gson:2.6.2'
compile 'com.android.support:recyclerview-v7:25.1.1'
compile 'com.squareup.okhttp3:okhttp:3.9.0'
compile 'com.google.code.gson:gson:2.8.1'
compile 'com.solidfire.code.gson:gson:2.6.2'
compile 'com.google.code.gson:gson-parent:2.8.1'
compile 'com.solidfire.code.gson:gson-parent:2.6.2'
compile 'com.android.support:support-annotations:25.1.1'
compile 'com.squareup.picasso:picasso:2.5.2'
}
It's
compile "com.squareup.retrofit2:retrofit:2.3.0"
compile "com.squareup.retrofit2:converter-gson:2.3.0"
compile "com.squareup.retrofit2:adapter-rxjava2:2.3.0"
compile "io.reactivex.rxjava2:rxandroid:2.0.1"
compile "io.reactivex.rxjava2:rxjava:2.1.2"
There's no need to exclude meta informations by using matching versions.

Buttknife not working with RXJava

Have problems with two libraries.
Gradle file
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion "25.0.3"
defaultConfig {
applicationId "pe.com.gmd.innova.adexus.adexusday"
minSdkVersion 16
targetSdkVersion 25
versionCode 1
versionName "1.0"
multiDexEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
jackOptions {
enabled true
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
/*
greendao {
schemaVersion 7
}*/
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(name: 'androidgmd2', ext: 'aar')
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.jakewharton:butterknife:7.0.1'
compile 'com.android.support:design:25.3.1'
compile 'com.android.support:cardview-v7:25.3.1'
compile 'com.android.support:recyclerview-v7:25.3.1'
compile 'com.android.support:multidex:1.0.1'
compile 'org.greenrobot:greendao:3.2.2'
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.daimajia.androidanimations:library:1.1.3#aar'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.squareup.retrofit2:retrofit:2.0.2'
compile 'com.squareup.retrofit2:converter-gson:2.0.2'
compile 'com.viewpagerindicator:library:2.4.1#aar'
compile 'com.google.android.gms:play-services-location:10.2.1'
compile 'com.google.android.gms:play-services-maps:10.2.1'
compile 'com.google.firebase:firebase-messaging:10.0.1'
compile 'com.google.firebase:firebase-crash:10.0.1'
compile 'com.google.code.gson:gson:2.8.0'
compile 'me.dm7.barcodescanner:zbar:1.9.1'
compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha8'
compile 'com.android.support:support-v4:25.3.1'
testCompile 'junit:junit:4.12'
compile 'io.reactivex:rxandroid:1.2.0'
compile 'io.reactivex:rxjava:1.1.8'
compile 'com.squareup.retrofit2:adapter-rxjava:2.1.0'
}
apply plugin: 'com.google.gms.google-services'
not have problems with gradle process any error..
so have problems in ejecuttion application.. because my buttknife not working injection.
Maybe exist version so working fine with rxjava librarys ? or the version is really low
my version library compile 'com.jakewharton:butterknife:7.0.1'
It looks like you are not importing AnnotationProcessor.
Try this with latest versions:
compile 'com.jakewharton:butterknife:8.6.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.6.0'

Cannot relocate dependencies using shadow plugin for gradle

I have a project wich uses a library which is contained in an aar file. The problem is that my application uses daager 1 for dependency Injection, it uses Dagger 1 because I use a framework that is compatible only with dagger 1. The problem is that the library I need to use uses Dagger 2 for dependency injection so when I add the library and I add the depencies in my application gradle file it doesn't work (as expected because Dagger 1 and Dagger 2 cannot be used at the same time out of the box), so I am trying to relocate the Dagger 2 depencencies using the shadow plugin.
I followed this tutorial on how to do it http://fernandocejas.com/2016/08/03/android-dagger-1-and-2-living-together/
the jar files are generated inside the modules but are empty, they don't contain the renamed files for Dagger 2. I downloaded the project from github https://github.com/android10/two-daggers and it works but I can manage to get it working in my project.
My gradle files from the modules created are an exact copy from those in the tutorial. Can you see what I am doing wrong?
Also the shadow.gradle is an exact copy.
The only difference is my build.gradle from my app which is
apply plugin: 'com.android.application'
apply plugin: 'com.neenbedankt.android-apt'
apply plugin: 'com.jakewharton.hugo'
android {
compileSdkVersion 23
buildToolsVersion "23.0.3"
defaultConfig {
applicationId "com.xxx.xxx"
minSdkVersion 16
targetSdkVersion 23
versionCode Integer.parseInt("$APP_VERSION_CODE")
versionName "$APP_VERSION_NAME"
testInstrumentationRunner "com.android.test.runner.MultiDexTestRunner"
// Enabling multidex support.
multiDexEnabled true
}
testBuildType "instrumentation"
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
dexOptions{
javaMaxHeapSize "3g"
incremental true
}
testOptions {
unitTests.returnDefaultValues = true
}
//Append version to Apk name
applicationVariants.all { variant ->
variant.outputs.each { output ->
def outputFile = output.outputFile
if (outputFile != null && outputFile.name.endsWith('.apk')) {
def fileName = outputFile.name.replace('app-', "AccessApp-")
fileName = fileName.replace('.apk', "-" + "$APP_TAG" + ".apk")
output.outputFile = new File(outputFile.parent, fileName)
}
}
}
packagingOptions {
exclude 'LICENSE.txt'
exclude 'META-INF/services/javax.annotation.processing.Processor'
}
lintOptions {
abortOnError false
disable 'InvalidPackage'
}
}
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.github.jengelman.gradle.plugins:shadow:1.2.3"
classpath "com.neenbedankt.gradle.plugins:android-apt:1.4"
}
}
apply plugin: "com.github.johnrengelman.shadow"
dependencies {
repositories {
maven {
url "http://xxx.xx.xxx:0000/xxx/xxxxxx/"
}
jcenter()
flatDir {
dirs 'libs'
}
}
//Dagger 1
apt 'com.squareup.dagger:dagger-compiler:1.2.2'
compile 'com.squareup.dagger:dagger:1.2.2'
//Dagger 2
apt project(path: ':two-daggers-compiler', transitive: false)
compile project(path: ':two-daggers-library', transitive: false)
compile fileTree(dir: 'libs', include: ['*.jar'])
//Unit Tests
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-core:1.10.19'
testCompile 'org.apache.maven:maven-ant-tasks:2.1.3'
testCompile 'joda-time:joda-time:2.3'
testCompile 'com.squareup.okhttp3:mockwebserver:3.2.0'
testCompile('org.robolectric:robolectric:3.0') {
exclude group: 'commons-logging', module: 'commons-logging'
exclude group: 'org.apache.httpcomponents', module: 'httpclient'
}
// Android instrumentation test dependencies
androidTestCompile 'junit:junit:4.12'
androidTestCompile 'com.android.support.test:runner:0.4.1'
// Set this dependency to use JUnit 4 rules
androidTestCompile 'com.android.support.test:rules:0.4.1'
// Set this dependency to build and run Espresso tests
androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.1'
androidTestCompile 'com.android.support:support-annotations:23.4.0'
// Android dependencies
compile 'com.android.support:support-v4:23.4.0'
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:design:23.4.0'
compile 'com.android.support:cardview-v7:23.4.0'
//Rosie Framework
compile 'com.karumi.rosie:rosie:2.1.0'
// Connectivity library
compile 'com.xxx.connectivity:connectivity:1.0.0.013#aar'
// Maps
compile 'com.google.android.gms:play-services-maps:8.4.0'
compile 'com.google.android.gms:play-services-location:8.4.0'
compile 'com.google.android.gms:play-services-gcm:8.4.0'
compile 'com.google.android.gms:play-services-base:8.4.0'
compile 'com.google.maps.android:android-maps-utils:0.4.3'
// Hockey App
compile 'net.hockeyapp.android:HockeySDK:4.0.2'
//Retrofit
compile 'com.squareup.retrofit2:retrofit:2.0.2'
compile 'com.squareup.retrofit2:converter-gson:2.0.2'
compile 'com.squareup.retrofit2:converter-scalars:2.0.2'
compile 'com.squareup.okhttp3:okhttp:3.2.0'
compile 'com.squareup.okhttp3:logging-interceptor:3.2.0'
// Images
compile 'com.squareup.picasso:picasso:2.5.2'
// Google Play Billing
compile 'com.anjlab.android.iab.v3:library:1.0.31'
compile 'joda-time:joda-time:2.3'
// View pager indicator
compile 'com.github.JakeWharton:ViewPagerIndicator:2.4.1#aar'
compile 'me.grantland:autofittextview:0.2.1'
// Event bus
compile 'org.greenrobot:eventbus:3.0.0'
//Roboto font
compile 'uk.co.chrisjenx:calligraphy:2.2.0'
//MixPanel
compile "com.mixpanel.android:mixpanel-android:4.8.7"
//Amazon
compile "com.amazonaws:aws-android-sdk-mobileanalytics:2.2.9"
//AppsFlyer
compile 'com.appsflyer:af-android-sdk:4.5.0#aar'
//Multidex
compile 'com.android.support:multidex:1.0.1'
androidTestCompile 'com.android.support:multidex-instrumentation:1.0.1'
// Smart tab layout
compile 'com.ogaclejapan.smarttablayout:library:1.6.1#aar'
compile 'com.ogaclejapan.smarttablayout:utils-v4:1.6.1#aar'
// Permissions
compile 'com.karumi:dexter:2.2.2'
// AP Geolocation
compile 'com.fon.analytics:analytics-sdk:0.4.3'
compile 'com.github.PhilJay:MPAndroidChart:v2.2.5'
// WPA sharing library
compile 'com.google.guava:guava:18.0'
compile 'com.j256.ormlite:ormlite-android:4.48'
compile 'com.j256.ormlite:ormlite-core:4.48'
//multiDex
compile 'com.android.support:multidex:1.0.1'
}

Categories

Resources