Installing react-native-webrtc giving gradle error “could not get unknown property mergeResourcesProvider”

Hi Mediasoup Team,

I am trying to integrate webrtc in my react-native application ,Installed the package and Finished all the steps mentioned in the documentation https://github.com/react-native-webrtc/react-native-webrtc/blob/master/Documentation/AndroidInstallation.md

But i am getting error message.

Could not get unknown property ‘mergeResourcesProvider’ for object of type com.android.build.gradle.internal.api.ApplicationVariantImpl.

Here is my package.json:
{

“name”: “MediasoupTest”,

“version”: “0.0.1”,

“private”: true,

“scripts”: {

"android": "react-native run-android",

"ios": "react-native run-ios",

"start": "react-native start",

"test": "jest",

"lint": "eslint ."

},

“dependencies”: {

"react": "16.11.0",

"react-native": "0.62.2",

"react-native-webrtc": "^1.75.3"

},

“devDependencies”: {

"@babel/core": "^7.6.2",

"@babel/runtime": "^7.6.2",

"@react-native-community/eslint-config": "^0.0.5",

"babel-jest": "^24.9.0",

"eslint": "^6.5.1",

"jest": "^24.9.0",

"metro-react-native-babel-preset": "^0.58.0",

"react-test-renderer": "16.11.0"

},

“jest”: {

"preset": "react-native"

}

}

It looks like you know in which exact project (not related to mediasoup) you have to report the issue, right?

Thanks for the information I thought(my false) that repo is managed by Mediasoup.

It’s not. It’s just an external dependency when using mediasoup-client in React for mobile.

Hi:
You can modify ‘com.android.tools.build:gradle:3.0.1’ to ‘com.android.tools.build:gradle:3.3.0’ in 5.b. and ’ gradle-4.1-all.zip’ to ‘gradle-4.10.1-all.zip’ in 5.c. in the documentation https://github.com/react-native-webrtc/react-native-webrtc/blob/master/Documentation/AndroidInstallation.md.

best regards

Thanks for the reply. I have alredy resolve that issue.