1You can assign custom project directory for react-native-video
2in android/settings.gradle after automatic linking like so:
3
4make sure u paste line before :app as mentioned below
5
6rootProject.name = 'MyAwesomeRNApp'
7apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
8project(':react-native-video').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-video/android-exoplayer')
9include ':app'