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.

App crashes on start due to NoClassDefFoundError

See original GitHub issue

Version: 2.0.0-beta19 (same with beta18)

I added the ui-drawer version of the library and call Beagle.initialize(this) in the onCreate block of my application, which leads to the app crashing with the following exception:

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/pandulapeter/beagle/common/contracts/BeagleContract$DefaultImpls;

I added the following dependencies:

    debugImplementation("com.github.pandulapeter.beagle:ui-drawer:2.0.0-beta19")
    releaseImplementation("com.github.pandulapeter.beagle:noop:2.0.0-beta19")

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
pandulapetercommented, Sep 10, 2020

You’re welcome, let me know if you find anything else 😃 If you feel like going for 1.4.10, bump the Beagle version to 2.0.0-beta20, it should be available in a few minutes.

0reactions
pwillmanncommented, Sep 10, 2020

It’s working with Kotlin 1.4 ! Thanks for your help 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

android - how to fix java.lang.NoClassDefFoundError crash
My app is live on play store. Its not crashing in all devices but I can see this crash in a few device...
Read more >
CRASH on open app,java.lang.NoClassDefFoundError ...
I used play games plugin for unity version 0.9.64 Unity 2017.3 First i have a same problem like java.lang.ClassNotFoundException: ...
Read more >
Crash caused by NoClassDefFoundError in Play Install ...
Using `com.android.installreferrer:installreferrer:1.1`, which is the latest stable version of the library, my app crashes at runtime due to: java.lang.
Read more >
java.lang.NoClassDefFoundError - MIT App Inventor Community
I created my app with MIT app inventor but when I tried to install the app on my mobile with Google Console I...
Read more >
App Crash on Startup - Unity Forum
lang.RuntimeException: Unable to get provider com.facebook.FacebookContentProvider: java.lang.ClassNotFoundException: Didn't find class "com.
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