Skip to main content

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!

The same issue


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’m experiencing the same issue. Do we have a solution yet? 


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",


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",


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