Skip to content

Commit

Permalink
fix app crash on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhiramVAnand committed Aug 3, 2024
1 parent 5124f09 commit 37efdf5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
13 changes: 7 additions & 6 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ android {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
signingConfig signingConfigs.debug
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
lintOptions {
checkReleaseBuilds false
Expand Down Expand Up @@ -73,12 +74,12 @@ dependencies {
implementation "androidx.room:room-runtime:$room_version"
annotationProcessor "androidx.room:room-compiler:$room_version"

implementation "ch.acra:acra-core:5.8.4"
implementation "ch.acra:acra-core:5.11.3"

implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.8.0"))

compileOnly "com.google.auto.service:auto-service-annotations:1.0.1"
annotationProcessor "com.google.auto.service:auto-service:1.0.1"
compileOnly "com.google.auto.service:auto-service-annotations:1.1.1"
annotationProcessor "com.google.auto.service:auto-service:1.1.1"

implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,9 @@ public void onCreate() {
@Override
protected void attachBaseContext(Context base) {
super.attachBaseContext(base);

ACRA.init(
this,
new CoreConfigurationBuilder(this)
new CoreConfigurationBuilder()
.withBuildConfigClass(BuildConfig.class)
.withReportFormat(StringFormat.JSON));
}
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

buildscript {

ext.kotlinVersion = '1.7.20'
ext.kotlinVersion = '1.9.0'

repositories {
google()
Expand Down

0 comments on commit 37efdf5

Please sign in to comment.