question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Application crash when moved to 1.3.0-9

See original GitHub issue

Following 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

untitled

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6

github_iconTop GitHub Comments

3reactions
vRallevcommented, Mar 22, 2019
2reactions
DvTondercommented, Jan 19, 2019

Don’t use workmanager yet, it is not stable. I use this library, without workmanager, on >1million installs and it works great.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found