Monday, 7 January 2019

Failed to resolve: com.crashlytics.sdk.android:answers-shim:0.0.3

Hy I have updated the android Studio to the latest version since I started getting gradle sync issues: Failed to resolve: com.crashlytics.sdk.android:answers-shim:0.0.3

How can I resolve it?

This is the content of the gradle I have

apply plugin: 'com.android.application'

android {
    compileSdkVersion 26
    buildToolsVersion '28.0.3'
    useLibrary  'org.apache.http.legacy'

    defaultConfig {


        javaCompileOptions {
            annotationProcessorOptions {
                includeCompileClasspath true
                applicationId "com.XXXXX.YYYYYY"
                minSdkVersion 21
                targetSdkVersion 26
                multiDexEnabled true
            }
        }
    }

    buildTypes {
        release {
            minifyEnabled true
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
        }
    }

    lintOptions {
        disable "ResourceType"
    }

    repositories {
        jcenter()
    }

}

dependencies {
    compile files('libs/icu4j-4_4_2_2.jar')
    compile files('libs/jsoup-1.6.3.jar')
    compile files('libs/ksoap2-android-assembly-2.6.0-jar-with-dependencies.jar')
    compile files('libs/zip4j_1.2.6.jar')
    compile 'com.android.support:multidex:1.0.3'
    compile('com.twitter.sdk.android:twitter:1.14.1@aar') {
        transitive = true;
    }
    compile 'com.facebook.android:facebook-android-sdk:4.38.1'

    // Google
    compile 'com.google.android.gms:play-services-auth:16.0.1'
    compile 'com.google.android.gms:play-services-appinvite:16.0.7'
    compile 'com.google.android.gms:play-services-ads:17.1.2'
    compile 'com.firebaseui:firebase-ui-database:0.4.0'
    compile project(':pdflibrary')

    //implementation
    implementation 'com.google.firebase:firebase-messaging:17.3.4'
    implementation 'com.google.firebase:firebase-core:16.0.6'
    implementation 'com.google.firebase:firebase-crash:16.2.1'
    implementation 'com.google.firebase:firebase-config:16.1.2'
    implementation 'com.google.firebase:firebase-auth:16.1.0'
    implementation 'com.google.firebase:firebase-database:16.0.5'   
}
apply plugin: 'com.google.gms.google-services'

If any clarification is needed kindly let me know



from Failed to resolve: com.crashlytics.sdk.android:answers-shim:0.0.3

No comments:

Post a Comment