Skip to content

Commit feba9be

Browse files
More effort to make everything 16K aligned
1 parent 02b2cf7 commit feba9be

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

android/app/build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,13 @@ android {
8888
targetSdkVersion rootProject.ext.targetSdkVersion
8989
versionCode 38
9090
versionName "0.10.1"
91+
externalNativeBuild {
92+
// For ndk-build, instead use the ndkBuild block.
93+
cmake {
94+
// Passes optional arguments to CMake.
95+
arguments "-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON"
96+
}
97+
}
9198
}
9299
signingConfigs {
93100
debug {

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ buildscript {
44
minSdkVersion = 24
55
compileSdkVersion = 36
66
targetSdkVersion = 36
7-
ndkVersion = "27.1.12297006"
7+
ndkVersion = "28.2.13676358"
88
kotlinVersion = "2.1.20"
99
}
1010
repositories {

android/gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ android.enableJetifier=true
2828
# Use this property to specify which architecture you want to build.
2929
# You can also override it from the CLI using
3030
# ./gradlew <task> -PreactNativeArchitectures=x86_64
31-
reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
31+
reactNativeArchitectures=armeabi-v7a,arm64-v8a
3232

3333
# Use this property to enable support to the new architecture.
3434
# This will allow you to use TurboModules and the Fabric render in
@@ -44,4 +44,4 @@ hermesEnabled=true
4444
# Use this property to enable edge-to-edge display support.
4545
# This allows your app to draw behind system bars for an immersive UI.
4646
# Note: Only works with ReactActivity and should not be used with custom Activity.
47-
edgeToEdgeEnabled=false
47+
edgeToEdgeEnabled=true

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"license": "gpl-3.0",
1313
"scripts": {
14-
"android": "react-native run-android",
14+
"android": "react-native run-android --active-arch-only",
1515
"android:release": "yarn android --mode release",
1616
"ios": "react-native run-ios",
1717
"lint": "eslint .",

0 commit comments

Comments
 (0)