question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android build error

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:15

github_iconTop GitHub Comments

9reactions
cfmitrahcommented, Nov 14, 2018

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”

4reactions
Dineshchittacommented, Nov 23, 2018

@Subway19 We downgraded the version to 10.2.0 and in android build.gradle we are using compile 'io.intercom.android:intercom-sdk:4.+' . It is working fine

Read more comments on GitHub >

github_iconTop Results From Across the Web

Known issues with Android Studio and Android Gradle Plugin
Known issues with Android Studio and Android Gradle Plugin · Error when rendering Compose Preview · Error when using different passwords for key...
Read more >
[FIXED] Android build failures `No matching variant of com. ...
Description. Hey all, I'd like to share an update on a series of build failures React Native & Expo users have been experiencing...
Read more >
How to fix build failed error in Android Studio?
Looks like some linking issue is causing the error. You can try to close android studio and delete .gradle folder and .idea folder...
Read more >
Resolving Android Gradle Build Errors
To let gradle(Build system on Android) process the manifest files with queries tag, the project needs to atleast use 5.6.4+ gradle version. All...
Read more >
Why does a build fail in Android Studio even if I don't have ...
Build fails are normal in Android studio. I have faced a million times. It may occure if your Android Studio is not updated....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found