-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
✨ Support 16kb page size for Android 15+ devices #3111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Guten Tag, Hans here. Note New features, bugfixes, updates and other improvements are all handled mostly by |
should be just a simple flag to CMake, but I think this will break backwards compat |
If possible, It should be backward compatible with old and new architecture 🤔 Otherwise, worth to have a force update. |
I'm talking about older android SDK/NDK versions |
This comment was marked as spam.
This comment was marked as spam.
This already works in latest VisionCamera afaik |
same here |
Is there an update on this, Google is mandating apps to support 16kb page size by November, this is a blocker for us at the moment |
If I haven't misunderstood: Google will enforce targetSdkVersion 35 by Aug 31st 2025. And they require you to support 16 KB page sizes if you target SDK 2025 so, by extension, every Android app will need to support this by Nov 1st 2025. We can omit the targetSdkVersion 35 part of the requirement as it'll have already been enforced. Looking at the steps to support this page size, it does not look like this dependency has been updated to do so: Regardless, we're still getting the 16KB page size popup using the latest version of this library. |
I don't understand why this issue was closed. When I add react-native-vision-camera to my React Native app that targets Android 15, I get the same results as @k-saparia, and I see a popup on my app that says: "This app isn't 16 KB compatible. ELF alignment check failed." I was able to fix this issue by removing react-native-vision-camera and adding this library instead: https://github.com/teslamotors/react-native-camera-kit/ I also had to apply the patch in this PR: teslamotors/react-native-camera-kit#699 |
They have created fix for vision camera 16 KB support #3543 |
However, I fixed by adding support in their cmake file. Here's my patch work!
add this line at the end of library's cmake file
|
Uh oh!
There was an error while loading. Please reload this page.
What feature or enhancement are you suggesting?
Description
I am encountering issues when running my app on Android 15 devices with a 16 KB page size, particularly with some native components. Are there any plans to recompile the library to address these issues and ensure compatibility with phones that have a 16 KB page size?
As stated on Android doc,
An analysis of my app using the APK Analyzer as described by Android shows that it does use libVisionCamera as native code.

This is the native binary reported by the APK analysis:
libVisionCamera.so
Describe the solution you'd like
Additional context
What Platforms whould this feature/enhancement affect?
Android
Alternatives/Workarounds
No workaround I have investigated so far.
Additional information
The text was updated successfully, but these errors were encountered: