I'm able to run the app on my
Pixel 4 API 29 AVD, but when I try running tests, I see this error about duplicate dependencies used in
jetified-checker-3.1 and
jetified-checker-qual-3.13.0:
Execution failed for task ':app:checkStandardDebugAndroidTestDuplicateClasses'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
The output after this error lists many "Duplicate class org.checkerframework.someClass". For example:
> Duplicate class org.checkerframework.checker.compilermsgs.qual.CompilerMessageKey found in modules jetified-checker-3.1 (org.checkerframework:checker:3.1.1) and jetified-checker-qual-3.13.0 (org.checkerframework:checker-qual:3.13.0)
Stack Overflow says to either add "android.useAndroidX=true" and "android.enableJetifier=true" settings in gradle.properties, which I see is already done, or to choose one of the conflicting classes to exclude.
Is there another setting I'm missing? Or, which of the modules' classes should I exclude?
Thanks,
Mark (GitHub: gelafin)