Skip to content

API 28 issue - <item> inner element must either be a resource #40

@chrisonline

Description

@chrisonline

If I compile with API 28 I get the following error:
inner element must either be a resource reference or empty

This error is refering to the includes "datetimepicker" library.
In this library there are lot defined items in values.xml like:
<item name="animator" type="id">false</item> <item name="cancel_button" 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_back" type="id">false</item>

The problem is here that an tag item can't have a type and a value.
With API 28 you can't compile it anymore.

Seems the library who causes the problem is:
compile 'com.github.lachlanm:datetimepicker:0.0.5'

Seen in you build.gradle.
Can you have a look at it?

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions