diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index d7383b98..dbae7520 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -11,11 +11,11 @@ react { // The root of your project, i.e. where "package.json" lives. Default is '../..' // root = file("../../") // The folder where the react-native NPM package is. Default is ../../node_modules/react-native - // reactNativeDir = file("../../node_modules/react-native") + reactNativeDir = file("../../../node_modules/react-native") // The folder where the react-native Codegen package is. Default is ../../node_modules/@react-native/codegen - // codegenDir = file("../../node_modules/@react-native/codegen") + codegenDir = file("../../../node_modules/@react-native/codegen") // The cli.js file which is the React Native CLI entrypoint. Default is ../../node_modules/react-native/cli.js - // cliFile = file("../../node_modules/react-native/cli.js") + cliFile = file("../../../node_modules/react-native/cli.js") /* Variants */ // The list of variants to that are debuggable. For those we're going to diff --git a/example/android/settings.gradle b/example/android/settings.gradle index c5287c2f..351e95e3 100644 --- a/example/android/settings.gradle +++ b/example/android/settings.gradle @@ -1,6 +1,6 @@ -pluginManagement { includeBuild("../node_modules/@react-native/gradle-plugin") } +pluginManagement { includeBuild("../../node_modules/@react-native/gradle-plugin") } plugins { id("com.facebook.react.settings") } extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() } rootProject.name = 'VideoExample' include ':app' -includeBuild('../node_modules/@react-native/gradle-plugin') +includeBuild('../../node_modules/@react-native/gradle-plugin')