From 9393eafd4e2e909c6e52d3a1493f3fc04c6ecdc5 Mon Sep 17 00:00:00 2001 From: ZCShou <72115@163.com> Date: Sun, 30 Oct 2022 11:09:30 +0800 Subject: [PATCH] chore(gradle):update some dependency --- app/build.gradle | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index aad316e..53c799f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -102,10 +102,12 @@ android { dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') - implementation 'androidx.appcompat:appcompat:1.4.2' + // AppCompat 1.5.1 开始显式依赖于 Lifecycle 2.5.1 和 SavedState 1.2.0 + implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1' + implementation 'androidx.appcompat:appcompat:1.5.1' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation 'androidx.preference:preference:1.2.0' - implementation 'com.google.android.material:material:1.6.1' + implementation 'com.google.android.material:material:1.7.0' implementation 'com.squareup.okhttp3:okhttp:3.14.9' implementation 'com.elvishew:xlog:1.11.0' implementation files('libs/BaiduLBS_Android.jar')