# React-native version 0.62.2 ,Installing react-native-webrtc giving gradle error "could not get unknown property mergeResourcesProvider"

**URL:** <https://react-native-webrtc.discourse.group/t/react-native-version-0-62-2-installing-react-native-webrtc-giving-gradle-error-could-not-get-unknown-property-mergeresourcesprovider/665>\
**Category:** Help\
**Created:** [May 6, 2020, 5:23pm UTC](https://react-native-webrtc.discourse.group/t/react-native-version-0-62-2-installing-react-native-webrtc-giving-gradle-error-could-not-get-unknown-property-mergeresourcesprovider/665 "2020-05-06T17:23:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ajith](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@Ajith](https://react-native-webrtc.discourse.group/u/Ajith)\
**Post date:** [May 6, 2020, 5:24pm UTC](https://react-native-webrtc.discourse.group/t/react-native-version-0-62-2-installing-react-native-webrtc-giving-gradle-error-could-not-get-unknown-property-mergeresourcesprovider/665/1 "2020-05-06T17:24:00Z")

</div>

I want to integrate webrtc in my react-native application ,Installed the package and Finished all the steps mentioned in the documentation ,But im getting error message

Could not get unknown property ‘mergeResourcesProvider’ for object of type com.android.build.gradle.internal.api.ApplicationVariantImpl. What will be the reason for the error.

 ![Screen Shot 2020-05-06 at 10.53.05 PM](https://global.discourse-cdn.com/free1/uploads/reactnativewebrtc1/original/1X/38b28d66a25eca079ac9e174778309e00d7e1855.png)

---

<div class="post-metadata">

**Author:** ![Taha39](https://avatars.discourse-cdn.com/v4/letter/t/13edae/32.png) [@Taha39](https://react-native-webrtc.discourse.group/u/Taha39)\
**Post date:** [July 1, 2020, 1:01pm UTC](https://react-native-webrtc.discourse.group/t/react-native-version-0-62-2-installing-react-native-webrtc-giving-gradle-error-could-not-get-unknown-property-mergeresourcesprovider/665/2 "2020-07-01T13:01:47Z")

</div>

I am also stuck on the same issue. @Ajith Have u got the solution?  
I am new to react-native and my react-native version is also same.

---

<div class="post-metadata">

**Author:** ![muyabb](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@muyabb](https://react-native-webrtc.discourse.group/u/muyabb)\
**Post date:** [October 25, 2020, 8:10am UTC](https://react-native-webrtc.discourse.group/t/react-native-version-0-62-2-installing-react-native-webrtc-giving-gradle-error-could-not-get-unknown-property-mergeresourcesprovider/665/3 "2020-10-25T08:10:39Z")

</div>

@Taha39 @Ajith I am having the same issue. Did any of you manage to fix it?

---

<div class="post-metadata">

**Author:** ![muyabb](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@muyabb](https://react-native-webrtc.discourse.group/u/muyabb)\
**Post date:** [October 25, 2020, 8:23am UTC](https://react-native-webrtc.discourse.group/t/react-native-version-0-62-2-installing-react-native-webrtc-giving-gradle-error-could-not-get-unknown-property-mergeresourcesprovider/665/4 "2020-10-25T08:23:03Z")

</div>

I managed to fix it by following the instructions here [https://github.com/wix/react-native-navigation/issues/4757#issuecomment-468133753](https://github.com/wix/react-native-navigation/issues/4757#issuecomment-468133753)
