Hello, I want to use this library on android and gradle fails while compiling. The error is:
FAILURE: Build failed with an exception.
* Where:
Script '/home/rxmoein/Documents/projects/AuditorMobile/node_modules/react-native/react.gradle' line: 238
* What went wrong:
A problem occurred configuring project ':app'.
> Could not get unknown property 'mergeResourcesProvider' for object of type com.android.build.gradle.internal.api.ApplicationVariantImpl.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
Can anyone help me with this? What am I doing wrong?
in gradle wrapper added this:
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
and added this in build.gradle file in dependencies
classpath 'com.android.tools.build:gradle:3.0.1'
And sdk version config:
buildToolsVersion = "27.0.3"
minSdkVersion = 16
compileSdkVersion = 27
targetSdkVersion = 29