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

I am getting NoSuchFieldError after showing the dialog #55

Closed
chrisonline opened this issue Jan 10, 2017 · 1 comment
Closed

I am getting NoSuchFieldError after showing the dialog #55

chrisonline opened this issue Jan 10, 2017 · 1 comment

Comments

@chrisonline
Copy link

I have added the code as in the sample app, but have set the options to show only the recurrence picker.
But after "show" I get this error:
aused by: java.lang.NoSuchFieldError: No field date_picker_day_picker of type I in class Lcom/appeaser/sublimepickerlibrary/R$id; or its superclasses (declaration of 'com.appeaser.sublimepickerlibrary.R$id' appears in /data/data/com.colapps.reminder/files/instant-run/dex/slice-slice_4-classes.dex)
at com.appeaser.sublimepickerlibrary.datepicker.SublimeDatePicker.initializeLayout(SublimeDatePicker.java:264)

The line who is crashing is in onCreateView in my RecurrencPickerDialogFragment:
SublimePicker sublimePicker = (SublimePicker) getActivity().getLayoutInflater()
.inflate(R.layout.sublime_picker, container);

What do I miss?

@chrisonline
Copy link
Author

Fixed:
The problem was that I use the 'com.github.jaydeep17:datetimepicker:0.0.4' too.
If I compile the SublimeDatePicker BEFORE the DateTimePicker it works.
The DateTimePicker from jaydeep doesn't have this field in the layout.

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

No branches or pull requests

1 participant