Open lambou opened 4 years ago
Found a way to solve it but not sure it is the best way;
I took the version (3.4.2) from android\build.gradle:
dependencies {
classpath("com.android.tools.build:gradle:3.4.2")
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
and replaced the node_modules\@react-native-community\masked-view\android\build.gradle file version which was 3.3.1
I am currently facing the same issue now when I am playing around with it, but I can't get it to work with your suggestion :/
node_modules@react-native-community\masked-view\android\build.gradle
Please can you explain what you mean by
and replaced the node_modules@react-native-community\masked-view\android\build.gradle file version which was 3.3.1
Do you mean I should replace classpath("com.android.tools.build:gradle:3.4.2")
with classpath("com.android.tools.build:gradle:3.3.1")
Kindly expatiate as I am facing the same issue.
Thanks.
Bug
A problem occurred evaluating project ':@react-native-community_masked-view'.
Environment info
npm@6.13.6 node@v10.15.1 react-native@0.61.5
React native info output:
Library version: 0.1.6
Steps To Reproduce
Reproducible sample code