ZieIony / Carbon

Material Design implementation for Android 4.0+. Shadows, ripples, vectors, fonts, animations, widgets, rounded corners and more.

Home Page:https://androidreclib.wordpress.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Android Studio 3.2 Canary 14 Build Issue

poovarasanvasudevan opened this issue · comments

In Android Studio 3.2 Canary 14 Causes issue with this line , Saying that item tag empty or closed

<item name="carbon_input" type="id">1</item>

I'm unable to reproduce your issue. I'll work on that a bit more, but I don't want to promise anything. I'm getting a good number of issues using AS 3.2, but in general, I'm not interested in Canary builds. Fixing things for one Canary version usually breaks things for all other users.

Currently (Canary 18) I'm getting a very similar error, but about textinput_error which is defined by Android framework.

Yes @ZieIony , need to add some prefixes those items

So, I fixed issues connected to Gradle Plugin 3.2. At least the one with wrong id and another one with duplicated textStyle and textColor attributes. I'm not sure about textinput_error, but the library seems to be building fine.

If you wish to give it a try, you can use the most recent commit and JitPack. If this version will work on both Android Studio 3.1.2 and 3.2, then I'll make a new release.

Same error on 3.2 Beta 1:

carbon-0.15.0.1.aar/925957092a2747252baea95f90c79c70/res/values/values.xml:618:5-49: AAPT: error: <item> inner element must either be a resource reference or empty.

0.15.0.1 is not compatible with AS 3.2. Please update to the latest commit and then try again.

0.15.2 with fixes is available on Maven