Skip to main content
Answered

React-Native problem building android - intercom-react-native:generateDebugRFile failed


Been getting this error since upgrading react-native, an ideas?

 

* What went wrong:
Execution failed for task ':intercom-react-native:generateDebugRFile'.
> A failure occurred while executing com.android.build.gradle.internal.res.GenerateLibraryRFileTask$GenerateLibRFileRunnable
   > /Users/manfredxu/Documents/project/node_modules/@intercom/intercom-react-native/android/build/intermediates/local_only_symbol_list/debug/R-def.txt

 

Above I also see this:

> Task :intercom-react-native:generateDebugRFile FAILED
Execution optimizations have been disabled for task ':intercom-react-native:generateDebugRFile' to ensure correctness due to the following reasons:
  - Gradle detected a problem with the following location: '/Users/manfredxu/Documents/project/node_modules/@intercom/intercom-react-native/android/build/intermediates/local_only_symbol_list/debug/R-def.txt'. Reason: Task ':intercom-react-native:generateDebugRFile' uses this output of task ':intercom_intercom-react-native:parseDebugLocalResources' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
  - Gradle detected a problem with the following location: '/Users/manfredxu/Documents/project/node_modules/@intercom/intercom-react-native/android/build/intermediates/packaged_manifests/debug'. Reason: Task ':intercom-react-native:generateDebugRFile' uses this output of task ':intercom_intercom-react-native:processDebugManifest' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.

 

Using

 

“react-native”: 0.71.7

“@intercom/intercom-react-native”: 5.0.0

 

Thanks!

Best answer by Paul M11

Hey there @manfredxu99 đź‘‹ 

 

Paul here from Intercom Support!

 

Thank you for your patience here 🙏 . Will raise this with our support team to take a closer look at âś…

View original
Did this topic help you find an answer to your question?

7 replies

The same issue


  • Employee
  • 53 replies
  • Answer
  • May 31, 2023

Hey there @manfredxu99 đź‘‹ 

 

Paul here from Intercom Support!

 

Thank you for your patience here 🙏 . Will raise this with our support team to take a closer look at âś…


Forum|alt.badge.img

I’m experiencing the same issue. Do we have a solution yet? 


  • New Participant
  • 2 replies
  • June 29, 2023
Paul M11 wrote:

Hey there @manfredxu99 đź‘‹ 

 

Paul here from Intercom Support!

 

Thank you for your patience here 🙏 . Will raise this with our support team to take a closer look at âś…

I have same issue, so have any solutions?

 

“react-native”: 0.70.4

“@intercom/intercom-react-native”: 5.1.1

 

android/build.gradle

```

...

buildToolsVersion = "31.0.0"

minSdkVersion = 21

compileSdkVersion = 33

targetSdkVersion = 31

```


Currently experiencing the same issue on:
"react-native": "0.70.5",
"@intercom/intercom-react-native": "5.1.1",


Paul M11 wrote:

Hey there @manfredxu99 đź‘‹ 

 

Paul here from Intercom Support!

 

Thank you for your patience here 🙏 . Will raise this with our support team to take a closer look at âś…

Hi Paul, any resolution to this issue I see it has been marked as solved, but I’m currently experiencing the same issue on:
"react-native": "0.70.5",
"@intercom/intercom-react-native": "5.1.1",


  • New Participant
  • 2 replies
  • July 3, 2023
Allen Ding wrote:
Paul M11 wrote:

Hey there @manfredxu99 đź‘‹ 

 

Paul here from Intercom Support!

 

Thank you for your patience here 🙏 . Will raise this with our support team to take a closer look at âś…

I have same issue, so have any solutions?

 

“react-native”: 0.70.4

“@intercom/intercom-react-native”: 5.1.1

 

android/build.gradle

```

...

buildToolsVersion = "31.0.0"

minSdkVersion = 21

compileSdkVersion = 33

targetSdkVersion = 31

```

Do not manually linking, it work well


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings