Skip to main content

Hi,

 

We randomly get the following error when trying to build an android release build. After building a few times it seems to fix itself but suddenly appears again after some time. This is pretty annoying since it costs unnecessary credits on CI servers.

 

It already happened in react-native-intercom 2.1.0 but also happens now on latest 3.0.5.

 

FAILURE: Build failed with an exception.

* What went wrong:

Execution failed for task ':@intercom_intercom-react-native:generateReleaseRFile'.

> A failure occurred while executing com.android.build.gradle.internal.res.GenerateLibraryRFileTask$GenerateLibRFileRunnable

> /Users/vagrant/git/node_modules/@intercom/intercom-react-native/android/build/intermediates/local_only_symbol_list/release/R-def.txt

 

Hey @thilo​ Racheal from the Support Engineer team here 👋

 

The best option here would be getting this investigated further by our Product team in order to best resolve this! A couple questions that would be helpful to have answered when you reach out to them team:

 

  • Are you using a physical device or an emulator/simulator?
  • Could you provide me with the build gradle file you are using?
  • Are there any specific steps to reproduce this error?
  • Are you using the sample app we provide on the React Native GitHub?

Reply