dbachelder/CreditCardEntry

Doesn't build with build tools 28.0.2

Closed this issue · 2 comments

Lots of failures of the type:

AGPBI: {"kind":"error","text":"error: \u003citem\u003e inner element must either be a resource reference or empty.","sources":[{"file":"/Users/XXXX/.gradle/caches/transforms-1/files-1.1/CreditCardEntry-1.4.7.aar/a4f38cbb1d005ade4b971a4553de5145/res/values/values.xml","position":{"startLine":11,"startColumn":4,"startOffset":988,"endColumn":46,"endOffset":1030}}],"original":"","tool":"AAPT"}

Not really too sure how to proceed.

Changing the following values in my cache:

    <item name="cc_card" type="id">2222</item>
    <item name="cc_ccv" type="id">4444</item>
    <item name="cc_entry" type="id">1000</item>
    <item name="cc_entry_internal" type="id">3000</item>
    <item name="cc_exp" type="id">3333</item>
    <item name="cc_form_layout" type="id">1111</item>
    <item name="cc_zip" type="id">5555</item>
    <item name="text_helper" type="id">2000</item>

to

    <item  name="cc_card" type="id" />
    <item  name="cc_ccv" type="id" />
    <item  name="cc_entry" type="id" />
    <item  name="cc_entry_internal" type="id" />
    <item  name="cc_exp" type="id" />
    <item  name="cc_form_layout" type="id" />
    <item  name="cc_zip" type="id" />
    <item  name="text_helper" type="id" />

Fixed the problem. I've submitted a pull request for these changes.

thanks for the report and PR