react-native-intercom: Android build error
When I linked react-native-intercom to my project, I am seeing these errors. I don’t want change build.gradle file because it is not related to my project. Have you got suggestions?
/node_modules/react-native-intercom/android/build/intermediates/res/merged/release/values-v24/values-v24.xml
Error:(3) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.
Error:(4) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.
Error:(3) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.
Error:(4) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.
Error:Execution failed for task ':react-native-intercom:processReleaseResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt
I looked at related questions on StackOverflow and old issues but these did not fix my problem. FYI
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 15
I’m getting this below error when i create a release apk of the app Execution failed for task ‘:react-native-intercom:verifyReleaseResources’. > com.android.ide.common.process.ProcessException: Failed to execute aapt
my SDK versions: compileSdkVersion 28 buildToolsVersion “28.0.3”
@Subway19 We downgraded the version to
10.2.0and in android build.gradle we are usingcompile 'io.intercom.android:intercom-sdk:4.+'. It is working fineFacing the same error. The error trace is:
Yea it’s in production but I wouldn’t say we “tested” it. None of our crash reporting tools are firing but that doesn’t really mean much.
The only thing I’m saying is that’s how I got past though compilation errors. Use at your own risk. Seems fine to me though.
@jpokrzyk It’s ok to change compileSdkVersion just like this??? We suppose to use v23 with RN or no?
I changed my
app/build.gradleandroid sdks to the following to fix that