Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoClassDefFoundError #92

Closed
AxelCC opened this issue Dec 1, 2018 · 13 comments
Closed

NoClassDefFoundError #92

AxelCC opened this issue Dec 1, 2018 · 13 comments
Labels

Comments

@AxelCC
Copy link

AxelCC commented Dec 1, 2018

I try to implement this library to my project, i've followed all the step but when I run my project get me a NoClassDefFoundError

12-01 09:05:53.760 E/AndroidRuntime(25347): java.lang.NoClassDefFoundError: com.danielstone.materialaboutlibrary.adapters.MaterialAboutListAdapter$1
12-01 09:05:53.760 E/AndroidRuntime(25347): at com.danielstone.materialaboutlibrary.adapters.MaterialAboutListAdapter.(MaterialAboutListAdapter.java:141)
12-01 09:05:53.760 E/AndroidRuntime(25347): at com.danielstone.materialaboutlibrary.MaterialAboutActivity.initViews(MaterialAboutActivity.java:88)
12-01 09:05:53.760 E/AndroidRuntime(25347): at com.danielstone.materialaboutlibrary.MaterialAboutActivity.onCreate(MaterialAboutActivity.java:55)

I hope someine can help me

@daniel-stoneuk
Copy link
Owner

More information please!

@AxelCC
Copy link
Author

AxelCC commented Dec 1, 2018

I've update the comment

@AxelCC AxelCC changed the title NoClassDefFoundError: coMaterialAboutListAdapter$1 NoClassDefFoundError: MaterialAboutListAdapter$1 Dec 1, 2018
@daniel-stoneuk daniel-stoneuk changed the title NoClassDefFoundError: MaterialAboutListAdapter$1 NoClassDefFoundError Dec 1, 2018
@daniel-stoneuk
Copy link
Owner

Thanks. Could you leave a copy of your build.gradle here as well so that we can check if there are any issues with setup.

@AxelCC
Copy link
Author

AxelCC commented Dec 1, 2018

Here is it
build.txt

@daniel-stoneuk
Copy link
Owner

A few things:

  • Why is your compileSdkVersion 21?
  • Have you tried updating to AndroidX and using the latest release of the library?

@AxelCC
Copy link
Author

AxelCC commented Dec 1, 2018

I'm using AIDE for compile my projects
Yes, but when i use the latest version I have problems with AndroidX libraries

@daniel-stoneuk
Copy link
Owner

Ah okay, no guarantees we'll be able to get it to work on AIDE.

Have you tried updating the support libraries to 27 at least? If not you could try an older release of the library.

@AxelCC
Copy link
Author

AxelCC commented Dec 1, 2018

Can I use version 2.2.5 with new layout design ?

@daniel-stoneuk
Copy link
Owner

Nope, but it looks very similar.

Can you confirm that it doesn't work when you change all the v25 support libraries to 28.0.0 https://developer.android.com/topic/libraries/support-library/revisions

@AxelCC
Copy link
Author

AxelCC commented Dec 1, 2018

Yep, it does not work

@AxelCC
Copy link
Author

AxelCC commented Dec 1, 2018

I try to use 2.4.0support library version but I get error that can not found dependency

@daniel-stoneuk
Copy link
Owner

Yeah, the 2.4.0 builds failed so don't use those. Sorry about that.

Right now, the only suggestion I have is to update your Android Support Library versions to 27.1.1 and use version 2.3.0 of the library. Please try this and let me know how it goes.

Apologies for my late response!

@daniel-stoneuk
Copy link
Owner

Closing due to inactivity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants