relopfix.blogg.se

Android studio gradle add dependency
Android studio gradle add dependency






android studio gradle add dependency

Looking into different solutions like updating / removing dependencies, and plugins, and debugging the app line by line to see where and how it crashes, we simply couldn’t crack the problem. We looked at the adle file and realized that we haven’t added any such dependency in our project which might use WorkManager in any way. The initial hunch we had was there’s some other dependency in our project, which is using WorkManager and that’s why this conflict is popped up.

android studio gradle add dependency

We were pretty confident on we have only initialized WorkManager only one time, then why Android Studio is throwing this exception.

android studio gradle add dependency

Recently, in one of my projects, we were stuck at a very annoying exception IllegalStateException: WorkManager is already initialized.








Android studio gradle add dependency