I am using Work Manager in my project for the firs...
# androidx
t
I am using Work Manager in my project for the first time. I am facing a weird crash which says -
Copy code
Unable to get provider androidx.work.impl.WorkManagerInitializer: java.lang.ClassNotFoundException: Didn't find class "androidx.work.impl.WorkManagerInitializer" on path: DexPathList
After researching a bit, I found this maybe due to the obfuscation done by proguard on the classNames used to instantiate the Worker classes. Tried to fix this by adding this in the proguard but with no luck.
Copy code
-keep class androidx.work.** { *; }
Any idea what I am missing here ?
😶 1