I had the same issue. The cause of the issue for me was that my Worker class was a nested class. The moment I made it an independent class, it worked.
More Related Contents:
- What is AndroidX?
- Android Studio keeps refusing to resolve com.android.support:appcompat-v7:29.0.1
- Proper implementation of ViewPager2 in Android
- What is Jetifier?
- Change Locale not work after migrate to Androidx
- Android. Is WorkManager running when app is closed?
- Schedule a work on a specific time with WorkManager
- Manifest merger failed : Attribute application@appComponentFactory – Androidx
- AndroidX:Appcompat I:art error android.view.View$OnUnhandledKeyEventListener
- in androidx.fragment.app.Fragment,setUserVisibleHint()is Deprecated,and not executed,why?
- Flutter Projects & Android X Migration Issues
- Error inflating class androidx.constraintlayout.ConstraintLayout after migration to androidx
- Android FAB icon always black with MaterialComponents theme
- How to set RecyclerView app:layoutManager=”” from XML?
- play-services-ads conflicts with appcompat
- How to schedule notifications using WorkManager?
- SupportMapFragment does not support AndroidX Fragment
- Crash on Android 10 (InflateException in layout/abc_screen_simple line #17)
- How to add cardview in layout xml in AndroidX
- Get current fragment with ViewPager2
- Error when adding buildFeatures in build.gradle file
- Program type already present: android.support.v4.os.ResultReceiver$MyResultReceiver
- PreferenceFragmentCompat has padding on PreferenceCategory that I can’t get rid of
- How do I prevent the status bar and navigation bar from animating during an activity scene animation transition?
- How do you check the internet connection in android? [duplicate]
- Read & writing arrays of Parcelable objects
- How to send hashmap value to another activity using an intent
- How to merge two mp3 files into one (combine/join)
- How to find the amount of free storage (disk space) left on Android? [duplicate]
- MediaPlayer, ProgressBar