修复编译警告问题

This commit is contained in:
ZhanGSKen
2025-03-28 14:25:26 +08:00
parent be5ed936df
commit 80767ca5b5
4 changed files with 10 additions and 7 deletions

View File

@@ -24,9 +24,12 @@ dependencies {
api fileTree(dir: 'libs', include: ['*.jar'])
// Android 类库
api 'com.android.support:appcompat-v7:28.0.0' // 包含 AppCompatActivity
//api 'com.android.support:appcompat-v7:28.0.0'
api('com.android.support:appcompat-v7:28.0.0'){
exclude group: "com.android.support", module: "support-vector-drawable"
}
// https://mvnrepository.com/artifact/com.android.support/support-compat
/*api 'com.android.support:support-compat:28.0.0' // 保留原有依赖(可选)
api 'com.android.support:support-compat:28.0.0' // 保留原有依赖(可选)
// https://mvnrepository.com/artifact/com.android.support/support-v4
api 'com.android.support:support-v4:28.0.0'
// https://mvnrepository.com/artifact/com.android.support/support-media-compat
@@ -39,5 +42,4 @@ dependencies {
api 'com.android.support:support-fragment:28.0.0'
// https://mvnrepository.com/artifact/com.android.support/recyclerview-v7
api 'com.android.support:recyclerview-v7:28.0.0'
*/
}