Skip to content

Commit 6a0274c

Browse files
committed
chore: fix an issue where the Android build was failing
1 parent 2113b86 commit 6a0274c

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

sample/android/gradle.properties

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
3232
# your application. You should enable this flag either if you want
3333
# to write custom TurboModules/Fabric components OR use libraries that
3434
# are providing them.
35-
newArchEnabled=true
35+
newArchEnabled=false
3636

3737
# Use this property to enable or disable the Hermes JS engine.
3838
# If set to false, you will be using JSC instead.
3939
hermesEnabled=true
40+
41+
android.enableGradlePluginVersionCompatibilityCheck=false

sample/react-native.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module.exports = {
2+
dependency: {
3+
platforms: {
4+
android: {
5+
sourceDir: '../android',
6+
},
7+
},
8+
},
9+
};

0 commit comments

Comments
 (0)