Closed tuomohopia closed 6 years ago
I think I managed to solve it by changing
settings.gradle:
- include ':react-native-webgl'
- project(':react-native-webgl').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-webgl/android')
+ include ':RNWebGL'
+ project(':RNWebGL').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-webgl/android')
app/build.gradle:
dependencies {
...
+ compile project(':RNWebGL')
}
I keep hitting a build error with
react-native run-android
command:after installing the dependencies with yarn, I linked them via
react-native link react-native-webgl
and made the other necessary modifications.Why does the import fail in finding the source for the import like this? What did I do wrong here?