Comments (3)
Missing Reproducible Example | |
---|---|
âšī¸ | We could not detect a reproducible example in your issue report. Please provide either:
|
from react-native.
I think React-Native should support the 16KB page size for the future.
Agree.
We haven't planned support for 16K page size in the near future as we're focused on rolling out the New Architecture.
To unblock yourself you can however:
- Turn on build from source https://reactnative.dev/contributing/how-to-build-from-source
- Bump the NDK to 27
- Use the
-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON
parameter as suggested in the guide (you'll have to patch.package alsonode_modules/react-native/ReactAndroid/build.gradle.kts
to pass that config there as well).
from react-native.
I created the following repo where I use RN 0.74.3. (Repo)
- Bumbed NDK to 27.0.11718014
- Patched node_modules/react-native/ReactAndroid/build.gradle.ks
- Created an Emulator supporting a 16KB page size
- Build and launch from Android Studio Canary2024.1.2 Canary 5 as suggested here https://developer.android.com/guide/practices/page-sizes#16kb-emulator
As a result, I got the following exception after the app launched:
2024-07-14 15:42:38.414 3431-3431 libc com.elf16check
A Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7299c27d4cc0 in tid 3431 (com.elf16check), pid 3431 (com.elf16check)
2024-07-14 15:42:40.597 3502-3502 DEBUG crash_dump64
A Cmdline: com.elf16check
2024-07-14 15:42:40.598 3502-3502 DEBUG crash_dump64
A pid: 3431, tid: 3431, name: com.elf16check >>> com.elf16check <<<
from react-native.
Related Issues (20)
- [iOS] Hash Generated Using Broken Cryptography API (SHA1) HOT 3
- Failed to generate podfile.lock HOT 4
- RN Alert button sometimes renders in the upper-left corner of the screen (iOS)
- [0.76.0 (nightly)] `react-native` command fails silently HOT 1
- Accessibility in android- With talkback elements are not clickable while on a screen from stack navigator. HOT 5
- PermissionsModule$1.invoke java.lang.IllegalArgumentException - Unknown permission: android.permission.POST_NOTIFICATIONS HOT 3
- React Native app works fine on ios but Axios network request in android not working HOT 6
- Modal is getting truncated when rendering at bottom on Android 15
- Dimensions.addEventListener not firing react native 0.74.3 HOT 5
- Inspector Tools issue when view are transformed in Fabric
- React Native Android fails with Desugaring enabled HOT 6
- The onChangeText and onChange events on a TextInput fire twice on Android HOT 6
- Android - Composer - Previous text is cut off after creating next line HOT 5
- [0.75.0-rc.5] Android crashes at app launch on New Architecture HOT 2
- Text inline Image in RTL layout, image position will be offset HOT 5
- Unhandled JS Exception: Invalid regular expression: HOT 6
- SIGSEGV Crashed: null pointer dereference HOT 6
- Sticky views have visual glitches while scrolling in ScrollView
- targetSdkVersion 33 to 34 app crash HOT 6
- Error: package com.facebook.react.modules.storage does not exist import com.facebook.react.modules.storage HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
đ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. đđđ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â¤ī¸ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native.