From 1ebe3214d4da9de0707049badc891cab01e11ddb Mon Sep 17 00:00:00 2001 From: Beijixiong <> Date: Sat, 4 Feb 2023 02:51:48 +0800 Subject: [PATCH] fix app not work in Android12. finished self test Bug refer: https://github.com/trojan-gfw/igniter/issues/408\#issuecomment-1126680213 Fix solution refer: https://stackoverflow.com/questions/68473542 --- app/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/app/build.gradle b/app/build.gradle index b34011bf..4ada9325 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -114,6 +114,7 @@ dependencies { // CameraX View class implementation 'androidx.camera:camera-view:1.0.0-alpha32' implementation 'com.google.mlkit:barcode-scanning:17.0.1' + implementation 'androidx.work:work-runtime-ktx:2.7.1' coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' testImplementation 'junit:junit:4.13.1'