Shusshu / Android-RecurrencePicker

Google Calendar Recurrence picker
Apache License 2.0
240 stars 51 forks source link

Android-RecurrencePicker can't work correctly in Android Studio3.2.0 #17

Open kouhengsheng opened 6 years ago

kouhengsheng commented 6 years ago

If you import Android-RecurrencePicker in Android Studio3.2.0,you will get the same bug. The bug is AAPT: error: inner element must either be a resource reference or empty. This is because the id.xml in the libarary of datetimepicker. I know how to solve the problem ,but I need the sourcecode of Android-RecurrencePicker

albka1986 commented 6 years ago

The same problem. @Shusshu please update your library for current Android Studio and Gradle.

Shusshu commented 6 years ago

@kouhengsheng Please make a PR to fix the id.xml file

@albka1986 using gradle won't fix the actual issue but feel free to convert this maven project to gradle

albka1986 commented 6 years ago

@kouhengsheng can you fix this? or please tell your solution for this case

ghost commented 5 years ago

Same problem here. It is just, because this lines are not in the right way:

` false

false
<item name="date_picker_header" type="id">false</item>
<item name="date_picker_month" type="id">false</item>
<item name="date_picker_month_and_day" type="id">false</item>
<item name="date_picker_year" type="id">false</item>
<item name="day_picker_selected_date_layout" type="id">false</item>
<item name="done" type="id">false</item>
<item name="month_text_view" type="id">false</item>`

Item-Tags have to be like this:

<item name="animator" type="id" />

Please fix that, my app won't run, if it isn't fixed :-(