diff --git a/app/build.gradle b/app/build.gradle index c5ecb8f..52c59d6 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -37,7 +37,8 @@ dependencies { implementation 'com.google.code.gson:gson:2.10' // https://mvnrepository.com/artifact/com.jakewharton.timber/timber implementation 'com.jakewharton.timber:timber:5.0.1' - + // 添加 WorkManager 的依赖 + implementation "androidx.work:work-runtime:2.7.0" implementation 'androidx.appcompat:appcompat:1.2.0' implementation 'com.google.android.material:material:1.3.0' implementation 'androidx.constraintlayout:constraintlayout:2.1.3'