Application crash when moved to 1.3.0-9
See original GitHub issueFollowing the wiki when I try to include 1.3.0-a9 of this library, I’ve added the WorkManager dependency as,
implementation 'android.arch.work:work-runtime:1.0.0-beta01';
But I get some crashes with these following logs.
java.lang.NoSuchFieldError: No static field SUCCESS of type Landroidx/work/ListenableWorker$Result; in class Landroidx/work/ListenableWorker$Result; or its superclasses (declaration of 'androidx.work.ListenableWorker$Result' appears in /data/app/ggg.ffff.sass-1/base.apk)
at com.evernote.android.job.work.PlatformWorker.doWork(PlatformWorker.java:56)
at androidx.work.Worker$1.run(Worker.java:84)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
When I looked upon PlatformWorker
, found that the doWork()
method inside it tries returning a variable Result.SUCCESS
from WorkManager’s ListenableRuntime
class , but the IDE can’t find the definition.
Any suggestions ? A screenshot is attached
Issue Analytics
- State:
- Created 5 years ago
- Comments:6
Top Results From Across the Web
Applications crashing after opening - Apple Community
Applications crashing after opening. I just randomly started having issues yesterday and today with my macbook.
Read more >Why did that app crash? Getting to the bottom of the log with ...
In most cases, apps crash because we do something. It might be trying to open them, clicking/tapping on a button, or selecting a...
Read more >Expo Go and other Expo SDK app crashes on first load ...
When you are installing the normal Expo Go app from the Google Store (or other app using Expo SDK) on a Samsung Android...
Read more >New AdMob Activity crashes when running on device ...
When adding AdMob activity, apps crashes at the startup. (before invoking onCreate() of the MainActivity). Even removing the AdMob does not help.
Read more >Unity Editor 2021.2.14 - 2021.3.1 LTS frequent hard crashes ...
The editor logs aren't much help finding a cause, and the Apple crash reports are showing various threads crashing at different times, usually ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in new release https://github.com/evernote/android-job/releases/tag/v1.3.0-rc1
Don’t use workmanager yet, it is not stable. I use this library, without workmanager, on >1million installs and it works great.