Closed breakingthebuild closed 6 years ago
Hey @breakingthebuild. Sorry for the late reply: we're looking at the issue right now.
@breakingthebuild, which buildToolsVersion
, targetSdkVersion
and minSdkVersion
do you use? Would you be able to share your build.gradle
file?
@weeeBox Thanks for looking into this issue. Below are the gradle settings you asked for:
minSdkVersion = 21
buildToolsVersion = 27.0.3
targetSdk = 26
@breakingthebuild, thanks for the info. We'll look into it ASAP
@breakingthebuild, we're not able to reproduce the issue on our end. I've created a small test project with the same configuration as yours. Would you be able to check if you can build it?
It would also be helpful if you can send us your build.gradle
file.
Hi @breakingthebuild,
Did you have a chance to look at the issue?
Hey @weeeBox sorry that we didn't respond in time. I was able to slightly alter your sample project and cause the error. The key change was including implementation 'com.android.support:appcompat-v7:28.0.0-alpha1'
in your gradle file. We'd like to use this support library version so that we can take advantage of the new Chip
and ChipGroup
controls.
Thanks @ThePromoter.
We'll take a look at it
@weeeBox Hey Sorry for the lack of response on my part. Curious if you were able to reproduce this issue?
@breakingthebuild, yes, I was able to reproduce it. Looking for a solution now...
@weeeBox Awesome! Thanks for the quick response.
Hi, @breakingthebuild.
Here's a temporary fix (will incorporate it in the next SDK release):
Create a new xml file <your_app_module>/src/main/res/values-v27/apptentive-attrs-fix.xml
with the following content:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="ApptentiveThemeTemplate">
<attr name="textColorError" format="color|reference"/>
</declare-styleable>
</resources>
Let me know if it helps!
That worked. Thanks @weeeBox
Great! Thanks for your help! The fix is available in 5.1.4 release
Hey guys, I had the same issue in my project.
It seems appcompat has changed textColorError
attribute. Now it's using colorError
instead.
Hi @lennonpetrick,
What are your compileSdkVersion
, buildToolsVersion
and targetSdkVersion
?
It's compileSdkVersion 28
, buildToolsVersion 27.0.3
and targetSdkVersion 28
.
I think you misunderstood me lol. I am not using your product. I was just looking for a solution for my problem when I came across with this git issue. So after finding the solution I thought would be good to comment here for helping someone else.
Hey @lennonpetrick,
Yes, I've totally misread that 🤦! Thanks for your hint, we'll take a closer look!
When updating our android platform compile sdk to
android-p
, we are getting this error 'attr/textColorError' not found. This line is the culprit:https://github.com/apptentive/apptentive-android/blob/master/apptentive/src/main/res/values/themes.xml#L150