FirebaseUI-Android: styles.xml is missing inside the .aar library file for firebase-ui-auth

200 views
Skip to first unread message

Animesh Jain

unread,
Aug 27, 2016, 9:55:36 AM8/27/16
to Firebase Google Group
I was trying to do some customisation on the Firebase Android UI layouts. So I figured instead of pulling the default libraries from maven central, I'd import the aar file into my project as a library. However, Android studio now fails to compile my project with a errors like this -

/ExampleAndroidProject/app/build/intermediates/exploded-aar/ExampleAndroidProject/firebase-ui-auth-release/unspecified/res/layout/forgot_password_layout.xml
Error:(10) No resource identifier found for attribute 'errorTextAppearance' in package 'com.example.sample'
Error:(10) No resource identifier found for attribute 'hintTextAppearance' in package 'com.example.sample'
/ExampleAndroidProject/app/build/intermediates/exploded-aar/ExampleAndroidProject/firebase-ui-auth-release/unspecified/res/layout/register_email_layout.xml
Error:(15) No resource identifier found for attribute 'errorTextAppearance' in package 'com.example.sample'
Error:(15) No resource identifier found for attribute 'hintTextAppearance' in package 'com.example.sample'
Error:(35) No resource identifier found for attribute 'errorTextAppearance' in package 'com.example.sample'
Error:(35) No resource identifier found for attribute 'hintTextAppearance' in package 'com.example.sample'
Error:(55) No resource identifier found for attribute 'errorTextAppearance' in package 'com.example.sample'
Error:(55) No resource identifier found for attribute 'hintTextAppearance' in package 'com.example.sample'

Sure enough, when I check inside the .aar files, the styles.xml is not to be found. What could I be doing wrong?

Thanks in advance.

Animesh Jain

unread,
Aug 27, 2016, 10:01:59 AM8/27/16
to Firebase Google Group
I can see that the styles _are_ present, but in the values.xml file. Gradle build continues to fail though. Both from within the IDE and from the command line. Confused.. what could be the problem?

Mike Mcdonald

unread,
Aug 27, 2016, 11:40:31 AM8/27/16
to Firebase Google Group
Can you please file this as an issue in FirebaseUI-Android, as it's an open source library and we like to triage bugs there.

Thanks,
--Mike

Animesh Jain

unread,
Aug 27, 2016, 3:31:23 PM8/27/16
to Firebase Google Group
Sure Mike, I wasn't sure if this was a bug.. here you go - https://github.com/firebase/FirebaseUI-Android/issues/270
Reply all
Reply to author
Forward
0 new messages