Skip to content

Commit

Permalink
Merge pull request #70 from sentry-demos/kw/fix-android-build
Browse files Browse the repository at this point in the history
fix(android): Build with stable `androidx.core`
  • Loading branch information
dachakra authored Jun 24, 2024
2 parents ff6c66e + deaf673 commit c9809da
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@ apply plugin: "org.jetbrains.kotlin.android"
apply plugin: "com.facebook.react"
apply plugin: "io.sentry.android.gradle"

// Dependency 'androidx.core:core:1.15.0-alpha01' requires libraries and applications that
// depend on it to compile against version 35 or later of the
// Android APIs.
// Until resolved https://stackoverflow.com/questions/78626580/how-to-resolve-app-execution-failure-due-to-androidx-corecore1-15-0-alpha
configurations.all {
resolutionStrategy {
force "androidx.core:core:1.13.1"
}
}

sentry {
// Disables or enables the automatic configuration of Native Symbols
// for Sentry. This executes sentry-cli automatically so
Expand Down

0 comments on commit c9809da

Please sign in to comment.