• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Android studio errors

lokdon

Lurker
This issue has festered for over 24hours now. It has given a serious headache. I seem not to rest on this one. I beseech you to assist me where you can.

This is my error:

Error (96, 0) Could not find method (com.crashlytics.sdk.android:crashlytics:2.9.3@aar)() for arguments [build_9p6ugxlvkxxfb2ywlifoaojjf$_run_closure3$_closure11@50e740c3] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
<a href="openFile:C:\abc\efg\app\build.gradle">

Open File </a>

This is my build.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'

repositories {
maven { url 'https://maven.fabric.io/public' }
}

android {
compileSdkVersion 27
buildToolsVersion '27.0.3'
flavorDimensions 'versionCode'
defaultConfig {
applicationId "com.offshoreindian.lokdonjoe"
minSdkVersion 16
targetSdkVersion 27
versionCode 4
versionName "3.1"
multiDexEnabled true // this line will solve this problem

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
// debug {
// minifyEnabled true
// shrinkResources true
// proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
// }
}
allprojects {
repositories {
jcenter()
// mavenCentral()
maven {
url "https://maven.google.com"
}
//maven { url 'https://maven.fabric.io/public' }
}
}
}

dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.facebook.android:facebook-android-sdk:4.+'
implementation 'com.android.support:appcompat-v7:27.0.0'
implementation 'com.android.support:design:27.1.1'
implementation 'com.android.support:support-v4:27.0.0'
implementation 'com.android.support:multidex:1.0.3'
implementation 'com.android.support:cardview-v7:27.1.1'
implementation 'com.google.android.gms:play-services:11.6.0'
implementation 'com.facebook.android:facebook-android-sdk:4.28.0'
implementation 'com.braintreepayments:card-form:3.2.0'
implementation 'com.squareup.retrofit2:retrofit:2.3.0'
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.8.0'
implementation 'com.squareup.picasso:picasso:2.5.2'
implementation 'com.squareup.okhttp:eek:khttp:2.7.5'
implementation 'com.squareup.okhttp3:eek:khttp:3.3.1'
implementation 'com.dropbox.core:dropbox-core-sdk:2.1.2'
implementation 'com.wdullaer:materialdatetimepicker:1.2.1'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.google.firebase:firebase-auth:11.0.1'
implementation 'com.firebaseui:firebase-ui:2.0.1'
implementation 'com.firebaseui:firebase-ui-auth:2.0.1'
implementation 'com.google.firebase:firebase-core:11.0.1'
implementation 'com.google.code.gson:gson:2.8.0'
implementation 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1'
implementation 'com.google.android.gms:play-services-auth:11.6.0'
implementation 'com.hbb20:ccp:2.1.9'
testCompile 'junit:junit:4.12'
implementation "android.arch.persistence.room:runtime:$rootProject.roomVersion"
annotationProcessor "android.arch.persistence.room:compiler:$rootProject.roomVersion"
androidTestImplementation "android.arch.persistence.room:testing:$rootProject.roomVersion"
// ViewModel and LiveData
implementation 'android.arch.lifecycle:extensions:1.1.1'
// alternatively, just ViewModel
implementation 'android.arch.lifecycle:viewmodel:1.1.1'
// alternatively, just LiveData
implementation 'android.arch.lifecycle:livedata:1.1.1'
annotationProcessor "android.arch.lifecycle:compiler:1.1.1"
implementation 'com.orhanobut:hawk:2.0.1'
implementation '(com.crashlytics.sdk.android:crashlytics:2.9.3@aar)' {
transitive = true;
}
implementation 'com.google.firebase:firebase-core:16.0.1'
implementation 'com.intuit.sdp:sdp-android:1.0.5'
implementation 'com.afollestad.material-dialogs:core:0.9.6.0'
implementation 'com.mobsandgeeks:android-saripaar:2.0.3'
implementation 'com.sdsmdg.tastytoast:tastytoast:0.1.1'
implementation 'de.cketti.share:share-intent-builder:0.0.2'
implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
implementation 'org.greenrobot:eventbus:3.1.1'
implementation 'uk.co.chrisjenx:calligraphy:2.3.0'
debugImplementation 'com.amitshekhar.android:debug-db:1.0.3'
compile 'com.github.myinnos:AlphabetIndex-Fast-Scroll-RecyclerView:1.0.92'
compile 'me.omidh:liquidradiobutton:1.0.01'
compile 'com.github.Flutterwave:rave-android:1.0.18'

}




apply plugin: 'com.google.gms.google-services'

I hope that some one can point me in the right direction here. Thanks,
 
Back
Top Bottom