Could not find com.google.dagger:dagger-compiler:3.0.0 - android

I have imported project from Eclipse and I got so many errors and I resolved all of them now in the end after successful build, I'm getting error:
Could not find com.google.dagger:dagger-compiler:3.0.0
Code in build.gradle(project) is
buildscript {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
classpath 'com.google.gms:google-services:3.2.0'
}
}
allprojects {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
}
and code in build.gradle(module:app) is
android {
compileSdkVersion 27
buildToolsVersion "27.0.3"
defaultConfig {
applicationId "com.thanu.schoolbustracker"
minSdkVersion 24
targetSdkVersion 27
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
dependencies {
annotationProcessor 'com.google.dagger:dagger-compiler:3.0.0'
compile 'com.android.support:support-v4:27.0.0'
compile 'com.google.android.gms:play-services:8.3.0'
compile files('libs/google-play-services.jar')
compile files('libs/maps.jar')
compile 'com.android.support:support-annotations:27.0.2'
compile 'com.android.support:support-v13:27.0.2'
compile 'com.android.support:appcompat-v7:27.0.2'
compile 'com.android.support:support-vector-drawable:27.0.2'
compile 'com.android.support:design:27.0.2'
compile 'com.android.support:gridlayout-v7:27.0.2'
compile 'com.android.support:mediarouter-v7:27.0.2'
compile 'com.android.support:cardview-v7:27.0.2'
compile 'com.android.support:palette-v7:27.0.2'
compile 'com.android.support:leanback-v17:27.0.2'
compile 'com.android.support:recyclerview-v7:27.0.2'
compile 'com.android.support:exifinterface:27.0.2'
compile 'com.android.support.constraint:constraint-layout:1.1.0'
compile 'com.android.support.test:runner:1.0.1'
compile 'com.android.support.test.espresso:espresso-core:3.0.2'
compile 'com.android.support.test.espresso:espresso-contrib:3.0.2'
compile 'com.android.databinding:library:3.1.2'
compile 'com.android.databinding:baseLibrary:3.1.2'
compile 'com.android.databinding:compiler:3.1.2'
compile 'com.android.databinding:adapters:3.1.2'
compile 'com.google.android.gms:play-services-ads:15.0.0'
compile 'com.google.android.gms:play-services-wearable:15.0.0'
compile 'com.google.android.gms:play-services-maps:15.0.0'
compile 'com.google.android.support:wearable:2.3.0'
}
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == 'com.android.support') {
if (!requested.name.startsWith("multidex")) {
details.useVersion '25.3.0'
}
}
}
}
After rebuild, project is built successfully but it is not creating APK and giving error;
Could not find com.google.dagger:dagger-compiler:3.0.0

Right now the latest version of Dagger is 2.15, change this line:
annotationProcessor 'com.google.dagger:dagger-compiler:2.15'
Also other Dagger libraries are:
compile "com.google.dagger:dagger:2.15"
compile "com.google.dagger:dagger-android:2.15"
compile "com.google.dagger:dagger-android-support:2.15"
annotationProcessor "com.google.dagger:dagger-android-processor:2.15"

Related

Unable to merge dex Android

I am getting error Unable to merge dex, try everything on stackoverflow
buildscript {
repositories {
google()
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' }
maven { url 'https://maven.google.com' }
flatDir {
dirs 'libs'
}
mavenCentral()
}
def daggerVersion = '2.8'
android {
compileSdkVersion 28
buildToolsVersion '27.0.2'
defaultConfig {
applicationId "com.upliftapp"
minSdkVersion 21
targetSdkVersion 28
versionCode 39
versionName "1.0"
multiDexEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
resConfigs "en"
vectorDrawables.useSupportLibrary = true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
// shrinkResources = true
}
}
lintOptions {
checkReleaseBuilds false
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
abortOnError false
}
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == 'com.android.support') {
if (!requested.name.startsWith("multidex")) {
details.useVersion '26.0.2'
//force 'com.android.support:support-v4:27.1.0'
}
}
}
}
dexOptions {
javaMaxHeapSize "4g"
}
aaptOptions {
cruncherEnabled false
}
}
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.twitter.sdk.android:twitter:1.14.1#aar') {
transitive = true;
}
compile('com.twitter.sdk.android:tweet-composer:1.0.5#aar') {
transitive = true;
}
compile project(':ViewPagerIndicator-Library')
compile project(':library_imageloading')
compile project(':ShortcutBadgerLib')
compile project(':CircleProgressView')
compile project(':StickyHeaderLibrary')
compile project(':VideoLibtoro')
compile project(':token_textview_library')
compile project(':swap_lib')
compile project(':library_parallaxeffect')
compile project(':curton_library')
compile project(':fullscreenvideoview')
compile project(':android-volley-master')
compile 'com.github.clans:fab:1.6.4'
compile "com.android.support:appcompat-v7:28.+"
compile 'com.android.support:design:28.+'
compile 'com.android.support:cardview-v7:28.+'
compile 'com.android.support:support-v4:28.+'
compile 'com.loopj.android:android-async-http:1.4.9'
compile 'com.android.support:recyclerview-v7:28.+'
compile 'com.facebook.fresco:fresco:0.9.0'
compile 'com.mixpanel.android:mixpanel-android:4.+'
compile 'com.facebook.android:facebook-android-sdk:4.35.0'
compile 'com.crittercism:crittercism-android-agent:+'
compile 'com.google.android.gms:play-services-base:+'
implementation 'com.google.android.gms:play-services-maps:+'
implementation 'com.google.android.gms:play-services-appindexing:+'
compile 'com.orhanobut:logger:1.15'
compile 'org.java-websocket:Java-WebSocket:1.3.0'
/*compile 'com.amazonaws:aws-android-sdk-s3:2.2.+'
compile 'com.amazonaws:aws-android-sdk-core:2.2.+'
compile 'com.amazonaws:aws-android-sdk-ddb:2.2.+'*/
compile 'com.amazonaws:aws-android-sdk-s3:2.+'
compile 'com.amazonaws:aws-android-sdk-core:2.+'
compile 'com.amazonaws:aws-android-sdk-ddb:2.+'
compile 'com.google.code.gson:gson:2.6.2'
compile 'net.ypresto.androidtranscoder:android-transcoder:0.1.10'
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.instabug.library:instabug:8.0.13'
compile 'org.jsoup:jsoup:1.8.3'
compile 'com.chauthai.swipereveallayout:swipe-reveal-layout:1.4.0'
compile 'com.github.stfalcon:frescoimageviewer:0.4.1'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.etsy.android.grid:library:1.+'
compile 'com.jpeng:LoadingProgress:1.1.0'
compile 'com.theartofdev:fast-image-loader:0.8.+'
compile 'com.android.support.constraint:constraint-layout:1.0.1'
compile 'com.android.support:multidex:1.0.1'
compile 'in.srain.cube:ultra-ptr:1.0.11'
testCompile 'junit:junit:4.12'
compile project(':library_scrollable')
compile 'io.branch.sdk.android:library:2.+'
compile 'com.appsflyer:af-android-sdk:4+#aar'
compile 'com.vdurmont:emoji-java:3.1.3'
compile project(':bettervideoplayer')
compile 'com.makeramen:roundedimageview:2.3.0'
compile 'com.squareup.retrofit2:converter-gson:2.1.0'
compile 'com.squareup.okhttp3:okhttp:3.8.0'
implementation project(':emojify_new')
compile 'org.apache.commons:commons-lang3:3.4'
compile 'com.github.nkzawa:socket.io-client:0.3.0'
implementation 'com.wowza.gocoder.sdk.android:com.wowza.gocoder.sdk:2.0#aar'
implementation 'com.google.firebase:firebase-core:16.0.0'
implementation 'com.google.firebase:firebase-iid:16.0.0'
implementation 'com.google.firebase:firebase-messaging:17.0.0'
compile 'com.google.firebase:firebase-crash:9.4.0'
implementation 'com.firebase:firebase-jobdispatcher:0.8.5'
implementation 'org.greenrobot:eventbus:3.1.1'
implementation "com.google.dagger:dagger:$daggerVersion"
annotationProcessor "com.google.dagger:dagger-compiler:$daggerVersion"
}
apply plugin: 'com.google.gms.google-services'
com.google.gms.googleservices.GoogleServicesPlugin.config.disableVersionCheck = true
error log
Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex
Have you tried updaing your libraries? also drop the compile keyword and replace it with implementation

Can't generate signed apk but it works fine

I can run the app and I can use it, but I can't generate signed apk. Here is the log and debug apk is running on some devices only.
Error:Execution failed for task
':app:transformClassesWithJarMergingForRelease'.com.android.build.api.transform.TransformException:
java.util.zip.ZipException: duplicate entry:
com/google/gson/annotations/Expose.class
Here is my app.gradle.
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'
//apply plugin: 'com.google.gms.google-services'
repositories {
maven { url 'https://maven.fabric.io/public' }
}
android {
compileSdkVersion 25
buildToolsVersion '25.0.2'
compileOptions.encoding = 'UTF-8'
signingConfigs {
}
repositories {
//jcenter()
mavenCentral()
maven {
url 'http://repo.brightcove.com/releases'
}
}
defaultConfig {
applicationId "com.asd.asd"
minSdkVersion 17
targetSdkVersion 23
versionCode 1
versionName "1.0"
manifestPlaceholders = [partner: "asd"]
multiDexEnabled = true
}
dexOptions {
incremental true
javaMaxHeapSize "4g"
}
buildTypes {
debug {
buildConfigField 'boolean', 'IS_ENABLE_ADS', 'true'
signingConfig signingConfigs.debug
debuggable true
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile(name: 'MfsAndroidLibrary', ext: 'aar')
compile 'com.android.support:appcompat-v7:25.1.1'
compile 'com.android.support:design:25.1.1'
compile 'com.android.support:cardview-v7:25.1.1'
compile 'com.android.support:recyclerview-v7:25.1.1'
compile 'com.android.support:percent:25.1.1'
//compile 'com.android.support:design:22.2.0'
compile files('libs/gson-2.2.4.jar')
compile 'com.facebook.android:facebook-android-sdk:4.17.0'
compile('com.crashlytics.sdk.android:crashlytics:2.6.5#aar') {
transitive = true;
}
compile 'com.afollestad.material-dialogs:commons:0.9.3.0'
compile 'com.brightcove.player:exoplayer:4.+'
compile 'com.google.android.gms:play-services-gcm:10.0.1'
compile 'com.google.android.gms:play-services-location:10.0.1'
compile 'com.useinsider:insider:6.0.8'
compile 'com.google.android.gms:play-services-maps:10.0.1'
compile 'com.pitt.fresh.library:freshdownloadview:1.0'
//compile 'cn.pedant.sweetalert:library:1.3'
// compile 'com.tkurimura:flickabledialog:0.9.0'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'org.jetbrains:annotations-java5:15.0'
compile 'com.github.bumptech.glide:okhttp3-integration:1.4.0#aar'
compile 'com.squareup.okhttp3:okhttp:3.2.0'
compile 'com.google.android.gms:play-services-analytics:10.0.1'
compile 'org.jsoup:jsoup:1.7.3'
compile 'com.afollestad:sectioned-recyclerview:0.2.3'
compile 'com.tonicartos:superslim:0.4.13'
//for select birthday
compile 'com.github.flavienlaurent.datetimepicker:library:0.0.2'
//image libraries
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.makeramen:roundedimageview:2.3.0'
compile 'com.google.android.gms:play-services-ads:10.0.1'
compile 'com.useinsider:insider:6.1.7'
compile 'com.wang.avi:library:1.0.2'
compile 'com.nineoldandroids:library:2.4.0'
compile 'io.card:android-sdk:5.3.0'
compile 'com.bkm.bexandroidsdk:bexandroidsdk:1.1.2'
}
apply plugin: 'com.google.gms.google-services'
and root gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.google.gms:google-services:3.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
flatDir{
dirs 'libs'
}
maven { url "http://mobile.useinsider.com" }
maven { url 'https://dl.bintray.com/bkmexpress/maven' }
maven {
url "https://jitpack.io"
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
I deleted this line
compile files('libs/gson-2.2.4.jar')
added this code and it works
compile ('com.google.code.gson:gson:2.7'){
transitive = true;
exclude module: 'gson'
}

add aviary sdk 3.6.3

I'm trying to compile with this gradle to add aviary sdk to my project
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'
apply plugin: 'realm-android'
apply plugin: 'com.neenbedankt.android-apt'
android {
compileSdkVersion 25
buildToolsVersion "24.0.2"
defaultConfig {
applicationId "..."
minSdkVersion 16
targetSdkVersion 25
versionCode 1
versionName "1.0"
multiDexEnabled true
}
signingConfigs {
release {
...
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}
packagingOptions {
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/LICENSE.txt'
}
}
repositories {
maven { url 'https://dl.bintray.com/brendanw/maven/' }
maven { url 'https://clojars.org/repo/' }
maven { url 'https://github.com/uPhyca/stetho-realm/raw/master/maven-repo' }
maven { url 'https://maven.fabric.io/public' }
maven {
name 'maven.aviary.com'
url uri("http://maven.aviary.com/repo/release")
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
// Compatibility
compile 'com.android.support:appcompat-v7:25.0.0'
compile 'com.android.support:design:25.0.0'
compile 'com.android.support:recyclerview-v7:25.0.0'
compile 'com.android.support:cardview-v7:25.0.0'
compile 'com.android.support:multidex:1.0.1'
// Play services API
compile 'com.google.android.gms:play-services-maps:9.6.1'
compile 'com.google.android.gms:play-services-location:9.6.1'
compile 'com.google.android.gms:play-services-places:9.6.1'
// Map Utils
compile 'com.google.maps.android:android-maps-utils:0.4.3'
// Realm.io
compile 'io.realm:android-adapters:1.3.0'
// Stetho
compile 'com.facebook.stetho:stetho:1.3.1'
compile 'com.uphyca:stetho_realm:0.9.0'
// Firebase
compile 'com.google.firebase:firebase-messaging:9.6.1'
// Parceler
compile 'org.parceler:parceler-api:1.1.1'
apt 'org.parceler:parceler:1.1.1'
// Events
compile 'org.greenrobot:eventbus:3.0.0'
// Network
compile 'com.google.code.gson:gson:2.6.2'
compile 'com.squareup.retrofit2:retrofit:2.0.1'
compile 'com.squareup.retrofit2:converter-gson:2.0.1'
compile 'com.squareup.okhttp3:okhttp:3.2.0'
compile 'com.squareup.okhttp3:logging-interceptor:3.2.0'
compile 'org.apache.commons:commons-lang3:3.4'
// Data Verification
compile 'com.googlecode.libphonenumber:libphonenumber:5.5'
// Image Loading
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.github.bumptech.glide:glide:3.7.0'
// Annotations
compile 'com.jakewharton:butterknife:7.0.1'
compile 'javax.validation:validation-api:1.0.0.GA'
compile 'javax.annotation:jsr250-api:1.0'
// Views
compile 'de.hdodenhof:circleimageview:2.0.0'
compile 'fr.avianey.com.viewpagerindicator:library:2.4.1.1#aar'
compile 'io.card:android-sdk:5.3.4'
// Logging
compile 'com.jakewharton.timber:timber:4.1.1'
compile 'com.jaredrummler:android-device-names:1.0.9'
// Barcode
compile 'com.google.zxing:core:3.2.1'
// Facebook
compile 'com.facebook.android:facebook-android-sdk:4.15.0'
// Payment
compile 'me.brendanweinstein:paymentkit-droid:1.0.4'
compile 'com.stripe:stripe-android:1.0.4'
//fabric
compile('com.crashlytics.sdk.android:crashlytics:2.6.5#aar') {
transitive = true;
}
//adobe
compile 'com.aviary.android.feather.sdk:aviary-sdk:3.6.3'
}
apply plugin: 'com.google.gms.google-services'
and i have some errors on values compiled file..
C:\Users\OLENGO\Desktop\Remy\android-printogo\app\build\intermediates\res\merged\debug\values\values.xml
Error:(1562) Error retrieving parent for item: No resource found that matches the given name '#style/Theme.Base.AppCompat.Dialog.FixedSize'.
I already try with this sample : https://github.com/CreativeSDK/android-getting-started-samples/blob/master/image-editor-ui/guide/image-editor.markdown
but if i upgrade the compileSdkVersion, even the sample have some errors
Does anyone else had such problem, and is there any way to avoid this crash?

Error while run app in Android Studio. app:incrementalDebugJavaCompilationSafeguard

Error:Execution failed for task ':app:incrementalDebugJavaCompilationSafeguard'.
java.io.IOException: Could not delete folder
C:\Users\XXXX\AndroidStudioProjects\XXXX\app\build\intermediates\classes\debug\com\bluejamesbond
Its a fresh instaltion of Android Studio en Windows 8 and the app was running after that but in Windows 7.
My gradles
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.2'
classpath 'com.google.gms:google-services:3.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
apply plugin: 'com.android.application'
buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'io.fabric.tools:gradle:1.21.5'
}
}
android {
compileSdkVersion 24
buildToolsVersion "23.0.3"
defaultConfig {
applicationId "com.XXX.XXX"
minSdkVersion 15
targetSdkVersion 23
versionCode 23
versionName "1.9.6"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
repositories {
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url 'https://maven.fabric.io/public' }
maven { url "https://jitpack.io" }
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile project(':volley')
compile('com.github.worker8:tourguide:1.0.16-SNAPSHOT#aar') { transitive = true }
compile('com.crashlytics.sdk.android:crashlytics:2.6.0#aar') { transitive = true; }
compile 'com.github.bluejamesbond:textjustify-android:2.1.6'
compile 'com.bignerdranch.android:expandablerecyclerview:2.1.1'
compile 'com.github.clans:fab:1.6.2'
compile 'com.getbase:floatingactionbutton:1.10.1'
compile 'com.facebook.android:facebook-android-sdk:4.6.0'
compile 'com.squareup.picasso:picasso:2.3.2'
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.daimajia.slider:library:1.1.5#aar'
compile 'com.dlazaro66.qrcodereaderview:qrcodereaderview:1.0.0'
compile 'com.michaelpardo:activeandroid:3.1.0-SNAPSHOT'
compile 'com.sothree.slidinguppanel:library:3.2.1'
compile 'io.card:android-sdk:5.3.4'
compile 'com.github.techery:ProperRatingBar:v0.0.3'
compile ('com.mercadopago:sdk:BETA_WORKSHOP#aar') { transitive = true }
compile 'com.android.support:palette-v7:24.0.0'
compile 'com.github.arimorty:floatingsearchview:2.0.1'
compile ('com.lamudi.phonefield:phone-field:0.0.8#aar') { transitive = true }
compile 'com.android.support:support-vector-drawable:24.0.0'
compile 'com.android.support:animated-vector-drawable:24.0.0'
compile 'com.android.support:design:24.0.0'
compile 'com.android.support:support-v4:24.0.0'
compile 'com.android.support:appcompat-v7:24.0.0'
compile 'com.android.support:cardview-v7:24.0.0'
compile 'com.android.support:recyclerview-v7:24.0.0'
compile 'com.google.android.gms:play-services-analytics:9.2.0'
compile 'com.google.android.gms:play-services-gcm:9.2.0'
compile 'com.google.android.gms:play-services-maps:9.2.0'
compile 'com.google.android.gms:play-services-appindexing:9.2.0'
compile 'com.google.android.gms:play-services:9.2.0'
compile 'com.google.android.gms:play-services-auth:9.2.0'
compile 'com.google.maps.android:android-maps-utils:0.4.1'
compile 'com.android.support:multidex:1.0.1'
}
apply plugin: 'io.fabric'
apply plugin: 'com.google.gms.google-services'
Thanks!
I have this problem after moving my project folder. I solve it by cleaning it.
Build>Clean Project, then rebuild it Build>Rebuild Project.

java.lang.NoClassDefFoundError: com.google.firebase.FirebaseOptions exception in API 19

My Android app is running on Android Lollipop and Marshmallow version but when i run it on API 19 it gives exception
java.lang.NoClassDefFoundError: com.google.firebase.FirebaseOptions exception
I am not using any firebase in may application. I search some related problem on Internet and apply in my app but right now i could not found any solution. Please help me
below is my top gradle file
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.0'
classpath 'com.google.gms:google-services:3.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
below is my app gradle file
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.3'
defaultConfig {
applicationId "com.dp.needdepartmentalstore"
minSdkVersion 14
targetSdkVersion 23
versionCode 29
versionName "5.16"
multiDexEnabled true
manifestPlaceholders = [manifestApplicationId : "${applicationId}",
onesignal_app_id : "16c778cf-8ebc-47a8-9ba8-6815f0223a0e",
onesignal_google_project_number: "253919422974"]
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
dexOptions {
incremental true
javaMaxHeapSize "4g"
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile('com.mikepenz:actionitembadge:3.1.8#aar') {
transitive = true
}
compile('com.weiwangcn.betterspinner:library-material:1.1.0') {
exclude group: 'com.android.support', module: 'appcompat-v7'
}
compile project(':niceSpinner')
compile files('libs/PGSDK_v1.0.jar')
compile files('libs/App42_ANDROID_SDK_3.8.jar')
compile('com.crashlytics.sdk.android:crashlytics:2.5.5#aar') {
transitive = true;
}
compile('com.instabug.library:instabugsupport:1+') {
exclude group: 'com.mcxiaoke.volley', module: 'library'
}
compile 'com.android.support:support-v4:23.4.0'
compile 'com.android.support:design:23.4.0'
compile 'com.daimajia.slider:library:1.1.5#aar'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.mcxiaoke.volley:library:1.0.19'
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.makeramen:roundedimageview:2.2.1'
compile 'com.android.support:cardview-v7:23.2.1'
compile 'com.facebook.android:facebook-android-sdk:4.5.0'
compile 'com.bignerdranch.android:expandablerecyclerview:2.0.3'
compile 'com.marshalchen.ultimaterecyclerview:library:0.3.18'
compile 'com.miguelcatalan:materialsearchview:1.3.0'
compile 'com.wdullaer:materialdatetimepicker:2.0.2'
compile 'com.google.android.gms:play-services:9.0.0'
compile 'de.greenrobot:eventbus:2.4.0'
compile 'com.github.shell-software:fab:1.1.2'
compile 'com.google.android.gms:play-services-analytics:9.0.0'
//compile 'com.onesignal:OneSignal:2.+#aar'
compile 'com.daimajia.swipelayout:library:1.2.0#aar'
compile 'com.intuit.sdp:sdp-android:1.0.2'
compile 'com.google.android.gms:play-services-maps:9.0.0'
compile 'com.android.support:multidex:1.0.1'
}
apply plugin: 'com.google.gms.google-services'

Categories

Resources