Skip to content

Commit 5869131

Browse files
committed
Fix android
1 parent 04f2d56 commit 5869131

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

apps/basic-example/android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ react {
1111
// The root of your project, i.e. where "package.json" lives. Default is '../..'
1212
// root = file("../../")
1313
// The folder where the react-native NPM package is. Default is ../../node_modules/react-native
14-
reactNativeDir = file("../../../node_modules/react-native")
14+
reactNativeDir = file("../../../../node_modules/react-native")
1515
// The folder where the react-native Codegen package is. Default is ../../node_modules/@react-native/codegen
16-
codegenDir = file("../../../node_modules/@react-native/codegen")
16+
codegenDir = file("../../../../node_modules/@react-native/codegen")
1717
// The cli.js file which is the React Native CLI entrypoint. Default is ../../node_modules/react-native/cli.js
1818
// cliFile = file("../../node_modules/react-native/cli.js")
1919

apps/basic-example/android/settings.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
pluginManagement { includeBuild("../../node_modules/@react-native/gradle-plugin") }
1+
pluginManagement { includeBuild("../../../node_modules/@react-native/gradle-plugin") }
22
plugins { id("com.facebook.react.settings") }
33
extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() }
44
rootProject.name = 'WalletExample'
55
include ':app'
6-
includeBuild('../../node_modules/@react-native/gradle-plugin')
6+
includeBuild('../../../node_modules/@react-native/gradle-plugin')
77
// includeBuild('../node_modules/react-native') {
88
// dependencySubstitution {
99
// substitute(module("com.facebook.react:react-android")).using(project(":packages:react-native:ReactAndroid"))

apps/expo-example/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,5 @@ yarn-error.log
7575
!.yarn/releases
7676
!.yarn/sdks
7777
!.yarn/versions
78+
79+
libs

0 commit comments

Comments
 (0)