-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Exception in editor mode (preview not work) #876
Comments
same problme here. |
Most likely a problem with styles or android studio, not the library. |
same here |
same problem for me. Android studio is reaching max memory capacity and not responding. 3889 of 3933M with com.prolificinteractive.materialcalendarview.MaterialCalendarView |
same here. |
Same here. |
Same here |
With last version of AS, it did not design rendering even on these versions:
|
Same problem here. This is the stack trace on AS 3.4 and gradle tools version 3.4.0: java.lang.NoClassDefFoundError: Could not initialize class com.prolificinteractive.materialcalendarview.format.TitleFormatter |
Still getting the null pointer exception above (though for line 427) in Android Studio 3.5 beta. NPE seems to line up with the Edit: Using library version 2.0.1 |
Same problem here, any updates? |
There hasn't been a master commit since Jan 24, 2019... I think this repo is no longer being maintained |
So, I discovered the fix on the Design Editor problem. I downloaded the source code and opened up Android Studio. Then I tried to separate the calendarMode variable from the state builder, then instantiate it like this; Then I built the project, and a After finding the answer, adding the missing statement, and returning the state builder back. A new exception popped up (As of writing this, it didn't occurred, but it did happened);
So I tried to add a I don't know if this is breaking the license or something, but alot of people including me is having this problem, but I'm not gonna use my version of the library and I'm gonna wait for the update. |
The following classes could not be instantiated:
- com.prolificinteractive.materialcalendarview.MaterialCalendarView
The text was updated successfully, but these errors were encountered: