This is my gradle.build file
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services' // Google Services Gradle plugin
// Apply the Crashlytics Gradle plugin
apply plugin: 'com.google.firebase.crashlytics'
apply plugin: 'kotlin-android'
//apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
android {
/* signingConfigs {
config_release {
storePassword 'android123'
keyAlias = 'android'
keyPassword 'android123'
storeFile file('D:\\Jennifer\\December\\support\\cyw-user\\cyw-user\\app\\key.jks')
}
}*/
compileSdkVersion 33
defaultConfig {
applicationId "com.cyw_encrypted"
minSdkVersion 28
targetSdkVersion 33
versionCode 5
multiDexEnabled true
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
ndk.abiFilters 'arm64-v8a','x86_64' // 'armeabi-v7a','x86',
}
buildFeatures{
viewBinding = true
}
buildTypes {
debug {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
// signingConfig signingConfigs.config_release
}
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
// signingConfig signingConfigs.config_release
}
}
compileOptions {
sourceCompatibility "1.8"
targetCompatibility "1.8"
}
lint {
abortOnError false
checkReleaseBuilds false
}
}
dependencies {
implementation files('libs/jxl.jar')
implementation 'com.android.support:multidex:1.0.3'
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.5.1'
implementation 'androidx.core:core-ktx:1.9.0'
implementation 'com.google.android.material:material:1.6.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation platform('com.google.firebase:firebase-bom:30.4.1')
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.4.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation 'com.intuit.ssp:ssp-android:1.0.4'
implementation 'com.intuit.sdp:sdp-android:1.0.5'
implementation 'com.google.android.gms:play-services-location:20.0.0'
implementation 'de.hdodenhof:circleimageview:2.1.0'
//FCM============================================
implementation 'com.google.firebase:firebase-messaging-ktx:23.0.8'
implementation 'com.google.firebase:firebase-core:21.1.1'
implementation 'com.google.firebase:firebase-analytics-ktx'
//implementation 'com.google.firebase:firebase-messaging-ktx:23.0.8'
implementation 'com.google.firebase:firebase-crashlytics-ktx:18.2.13'
// socket
implementation('io.socket:socket.io-client:1.0.0') {
// excluding org.json which is provided by Android
exclude group: 'org.json', module: 'json'
}
implementation 'com.github.bumptech.glide:glide:4.9.0'
kapt 'com.github.bumptech.glide:compiler:4.9.0'
implementation 'android.arch.persistence.room:runtime:1.1.1'
kapt "android.arch.persistence.room:compiler:1.1.1"
implementation "com.squareup.retrofit2:retrofit:$rootProject.retroVersin"
implementation "com.squareup.retrofit2:converter-gson:$rootProject.retroVersin"
implementation "com.squareup.okhttp3:logging-interceptor:$rootProject.retroLoginterceptor"
implementation "com.google.dagger:dagger:2.28.3"
kapt "com.google.dagger:dagger-compiler:2.28.3"
implementation files('libs/opencsv-2.4.jar')
implementation files('libs/jxl.jar')
implementation("com.github.esafirm.android-image-picker:imagepicker:2.1.0") {
exclude group: 'com.github.bumptech.glide', module: 'glide'
}
implementation 'com.github.yesterselga:country-picker-android:1.0'
implementation 'com.ajts.androidmads.SQLite2Excel:library:1.0.4'
implementation 'com.github.tcking:giraffecompressor:0.1.4'
implementation 'com.droidninja:filepicker:2.2.1'
implementation 'com.squareup:otto:1.3.8'
implementation 'com.squareup.okhttp3:okhttp:3.11.0'
// implementation 'org.glassfish:javax.annotation:10.0-b28'
implementation 'org.greenrobot:eventbus:3.2.0'
}
kapt { correctErrorTypes true }
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'
This is the error it is giving me

It wont let me build at all. I have spent the last 2 days crawling the web for answers but I cannot find one that will work. I dont know where to go from here as I cannot even build the app. This happened when I upgraded a lot of the libraries, kotlin version and gradle version, but to do all of that it had to restart android studio so I cannot press undo anymore.
Any help will be much appreciated, Thanks, Jack