Skip to content

Commit 01bc0c9

Browse files
committed
fix: Downgrade androidx dependencies for SDK 33 compatibility
- Revert to AGP 8.1.1 which works with SDK 33 - Downgrade androidx libraries that require newer SDK versions: - androidx.appcompat: 1.7.1 -> 1.6.1 - androidx.recyclerview: 1.4.0 -> 1.3.2 - androidx.browser: 1.8.0 -> 1.7.0 - androidx.constraintlayout: 2.2.1 -> 2.1.4 - androidx.annotation: 1.9.1 -> 1.7.1
1 parent 15b8272 commit 01bc0c9

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

app/build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
apply plugin: 'com.android.application'
22

33
android {
4-
compileSdk 34
4+
compileSdk 33
55
buildFeatures {
66
buildConfig true
77
}
88
defaultConfig {
99
applicationId "me.ghui.v2er"
1010
minSdkVersion 27
11-
targetSdkVersion 34
11+
targetSdkVersion 33
1212
versionCode rootProject.ext.app.versionCode
1313
versionName rootProject.ext.app.versionName
1414
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
@@ -79,15 +79,15 @@ dependencies {
7979
})
8080
testImplementation 'junit:junit:4.13.2'
8181

82-
implementation 'androidx.appcompat:appcompat:1.7.1'
82+
implementation 'androidx.appcompat:appcompat:1.6.1'
8383
implementation 'com.google.android.material:material:1.3.0'
84-
implementation 'androidx.recyclerview:recyclerview:1.4.0'
84+
implementation 'androidx.recyclerview:recyclerview:1.3.2'
8585
implementation 'androidx.cardview:cardview:1.0.0'
86-
implementation 'androidx.browser:browser:1.8.0'
86+
implementation 'androidx.browser:browser:1.7.0'
8787
implementation 'androidx.palette:palette:1.0.0'
88-
implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
88+
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
8989
implementation 'com.google.android.flexbox:flexbox:3.0.0'
90-
implementation "androidx.annotation:annotation:1.9.1"
90+
implementation "androidx.annotation:annotation:1.7.1"
9191
// JSR305 annotations for javax.annotation
9292
implementation 'com.google.code.findbugs:jsr305:3.0.2'
9393
// 3rd part Dependencies...

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ buildscript {
77
maven { url "https://plugins.gradle.org/m2/" }
88
}
99
dependencies {
10-
classpath 'com.android.tools.build:gradle:8.11.0'
10+
classpath 'com.android.tools.build:gradle:8.1.1'
1111
}
1212
}
1313

0 commit comments

Comments
 (0)