title: ClassNotFoundException: Didn't find class "androidx.work.Worker" on path: DexPathList
body: <p>I have been trying to make an android library, whenin I'm making use of WorkManager's PeriodicWorkRequest. It works flawlessly as a module in the host development app. However, once I export it as an aar file and use it in another app, I get the following error,</p>
  
  <pre><code>java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/work/Worker;
  .
  .
  .
  Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.work.Worker" on path: DexPathList[[zip file "/data/app/com.example.testapp-0WusKIYjC1qsHRMASLjm1Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.example.testapp-0WusKIYjC1qsHRMASLjm1Q==/lib/arm64, /system/lib64, /vendor/lib64]]
  </code></pre>
  
  <p>Any idea how I can fix this?</p>