CreditCardEntry icon indicating copy to clipboard operation
CreditCardEntry copied to clipboard

Build fails with `invalid color` on Android Studio 3.0

Open mwajeeh opened this issue 7 years ago • 1 comments

Project contains <item name="null_color" type="color">234234</item> which causes build to fail on Android Studio 3.0 with

Error: invalid color

mwajeeh avatar May 30 '17 10:05 mwajeeh

Only way to make this project compile is to add following lines to your own project which will override this libs resources which are causing compilation errors:

    <item name="null_color" type="color">#00000000</item>
    <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"/>

Make sure to use com.devmarvel.creditcardentry.R.id.cc_card etc wherever required

mwajeeh avatar May 16 '18 05:05 mwajeeh