Closed borosuman closed 5 years ago
This is interesting. We don't have the textColorError
attribute defined in Android Card Form so I'm not to sure why you're getting this issue.
Are you including another one of our repositories like Drop-in?
Yes. The following dependencies work too. But when I try to use the latest version, it's showing the error. implementation 'com.braintreepayments:card-form:3.+' implementation 'com.braintreepayments.api:drop-in:3.+' implementation 'com.braintreepayments.api:braintree:2.+'
Is there a reason why you're including both the card form and drop-in as dependencies? If you're using Drop-in, why do you need the card form?
I am only using: implementation('com.braintreepayments.api:drop-in:3.5.2') { exclude module: 'recyclerview-v7' exclude module: 'support-annotations' exclude module: 'support-v4' exclude module: 'design' }
still got the same error. Any help appreciated!
@Viralkanz can you make a card for this in Drop-in? Your issue doesn't look like it belongs in this repository.
This is a duplicate of braintree-android-drop-in/issue/77. Please follow that issue for updates.
The latest news is we have a published a snapshot version which resolves the issue. We'll publish a release for Drop-in soon.
Closing this issue since it is duplicated in braintree-android-drop-in
My configuration:
compileSdkVersion 28 minSdkVersion 17 targetSdkVersion 28 support Library Version 28.0.0-alpha3 braintreepayments-card-form version 3.3.0
Issue description
I am getting AAPT error,
error: style attribute 'attr/textColorError (aka in.example.app:attr/textColorError)' not found. Message{kind=ERROR, text=error: style attribute 'attr/textColorError (aka in.example.app:attr/textColorError)' not found., sources=[/home/ps/.gradle/caches/transforms-1/files-1.1/card-form-3.3.0.aar/0adfda46d436762f0ca3ad472ea91416/res/values/values.xml:55:5-57:13], original message=, tool name=Optional.of(AAPT)}
when I try to add the card library in my project.