Skip to content

Commit 40b5873

Browse files
committed
Downgrade androidx.core
1 parent a076f7f commit 40b5873

9 files changed

Lines changed: 14 additions & 10 deletions

File tree

android-interop-testing/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ android {
2929
sourceCompatibility JavaVersion.VERSION_1_8
3030
targetCompatibility JavaVersion.VERSION_1_8
3131
}
32-
compileSdkVersion 35
32+
compileSdkVersion 34
3333

3434
defaultConfig {
3535
applicationId "io.grpc.android.integrationtest"

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ android {
1212
sourceCompatibility JavaVersion.VERSION_1_8
1313
targetCompatibility JavaVersion.VERSION_1_8
1414
}
15-
compileSdkVersion 35
15+
compileSdkVersion 34
1616
defaultConfig {
1717
minSdkVersion 23
1818
targetSdkVersion 33

binder/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description = 'gRPC BinderChannel'
77

88
android {
99
namespace = 'io.grpc.binder'
10-
compileSdkVersion 35
10+
compileSdkVersion 34
1111
compileOptions {
1212
sourceCompatibility 1.8
1313
targetCompatibility 1.8

cronet/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repositories {
1212

1313
android {
1414
namespace = 'io.grpc.cronet'
15-
compileSdkVersion 35
15+
compileSdkVersion 33
1616
defaultConfig {
1717
minSdkVersion 23
1818
targetSdkVersion 33

examples/android/clientcache/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ android {
66
sourceCompatibility JavaVersion.VERSION_1_8
77
targetCompatibility JavaVersion.VERSION_1_8
88
}
9-
compileSdkVersion 35
9+
compileSdkVersion 34
1010

1111
defaultConfig {
1212
applicationId "io.grpc.clientcacheexample"

examples/android/helloworld/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ android {
66
sourceCompatibility JavaVersion.VERSION_1_8
77
targetCompatibility JavaVersion.VERSION_1_8
88
}
9-
compileSdkVersion 35
9+
compileSdkVersion 34
1010

1111
defaultConfig {
1212
applicationId "io.grpc.helloworldexample"

examples/android/routeguide/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ android {
66
sourceCompatibility JavaVersion.VERSION_1_8
77
targetCompatibility JavaVersion.VERSION_1_8
88
}
9-
compileSdkVersion 35
9+
compileSdkVersion 34
1010

1111
defaultConfig {
1212
applicationId "io.grpc.routeguideexample"

examples/android/strictmode/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ android {
66
sourceCompatibility JavaVersion.VERSION_1_8
77
targetCompatibility JavaVersion.VERSION_1_8
88
}
9-
compileSdkVersion 35
9+
compileSdkVersion 34
1010

1111
defaultConfig {
1212
applicationId "io.grpc.strictmodehelloworldexample"

gradle/libs.versions.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,13 @@ android-annotations = "com.google.android:annotations:4.1.1.4"
66
# 1.9.1+ uses Kotlin and requires Android Gradle Plugin 9+
77
# checkForUpdates: androidx-annotation:1.9.0
88
androidx-annotation = "androidx.annotation:annotation:1.9.0"
9+
# 1.14.x doesn't exist.
10+
# 1.15.0+ requires compileSdkVersion 35 which officially requires AGP 8.6.0+.
11+
# It might work before then, but AGP 7.4.1 fails with:
12+
# RES_TABLE_TYPE_TYPE entry offsets overlap actual entry data.
913
# 1.16.0+ requires AGP 8.6.0+
10-
# checkForUpdates: androidx-core:1.15.+
11-
androidx-core = "androidx.core:core:1.15.0"
14+
# checkForUpdates: androidx-core:1.13.+
15+
androidx-core = "androidx.core:core:1.13.1"
1216
# 2.9+ requires AGP 8.1.1+
1317
# checkForUpdates: androidx-lifecycle-common:2.8.+
1418
androidx-lifecycle-common = "androidx.lifecycle:lifecycle-common:2.8.7"

0 commit comments

Comments
 (0)