我想在我的 react-native 应用程序中集成 webrtc,安装了 react-native 的包 react-native-webrtc .完成了文档中提到的所有步骤,但我收到错误消息
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.
最佳答案
react-native-webrtc 文档有点复杂。
从 react-native 版本 .60 及更高版本开始,不需要链接,链接会自动发生。
就做npm install react-native-webrtc
关于android - 无法为 com.android.build.gradle.internal.api.ApplicationVariantImpl 类型的对象获取未知属性 'mergeResourcesProvider',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61593387/