react-native-image-crop-picker icon indicating copy to clipboard operation
react-native-image-crop-picker copied to clipboard

Add support for 16 KB page size (Android 15+)

Open vdrahorad-paylocity opened this issue 6 months ago • 19 comments

Google will enforce 16 KB page size support for native libraries starting November 1, 2025. This requires all .so files for arm64-v8a and x86_64 to be aligned to 16 KB.

This library includes a dependency on com.github.yalantis:ucrop:2.2.6-native, which contains unaligned native libraries:

lib/x86_64/libucrop.so: UNALIGNED (2**12) Checked using Google’s check-elf tool. https://developer.android.com/guide/practices/page-sizes

Related upstream issue: https://github.com/Yalantis/uCrop/issues/931

vdrahorad-paylocity avatar Jun 19 '25 11:06 vdrahorad-paylocity

Bump. Are you going to do this? This is important.

VadymVashchuk avatar Aug 19 '25 14:08 VadymVashchuk

👍 Waiting for updates. This is really important!

sergii-ulko avatar Sep 02 '25 10:09 sergii-ulko

Please use the updated version, I guess this is already fixed

nilesh-simform avatar Sep 10 '25 13:09 nilesh-simform

I upgraded the version from 0.42.0 to 0.51.0 and am trying to run the app on the 16KB Emulator, but the app crashes while launching.

gkasireddy202 avatar Sep 17 '25 06:09 gkasireddy202

im ok with 0.51.0 no crashes

manosKas avatar Sep 19 '25 10:09 manosKas

@manosKas - Are you tested on 16KB Emulator?

gkasireddy202 avatar Sep 19 '25 10:09 gkasireddy202

no, you are right, just a physical device with android 14 so i need to test it on an emulator with android 15 right ?

manosKas avatar Sep 19 '25 10:09 manosKas

I am testing the lib with this configuration, and my app is already on the store without any issues.

Image

claudiozam avatar Sep 19 '25 10:09 claudiozam

App is crashed in version: 0.51.0 and react-native:0.79.2

gkasireddy202 avatar Sep 19 '25 10:09 gkasireddy202

Version: 0.51.0 and react-native: 0.79.6. No problem. Try to clean the project.

https://www.npmjs.com/package/react-native-clean-project

claudiozam avatar Sep 19 '25 10:09 claudiozam

@ivpusic I have also tried with 0.51.0 and react-native : 0.79.6 build is fine working but getting this not support for 16KB.

Image

nidhish-icode avatar Sep 26 '25 10:09 nidhish-icode

Hi @nidhish-icode have you checked the support using Android Studio's APK Analyzer feature after upgrading? Are you getting any warnings there?

nilesh-simform avatar Sep 26 '25 10:09 nilesh-simform

I ran the app with version 0.42.0 on a 16 KB emulator. The warning pop-up appears when the app launches. I upgraded the version from 0.42.0 to 0.51.0 and ran the build on a 16 KB supported emulator. The warning pop-up does not appear when the app launches.

gkasireddy202 avatar Sep 26 '25 10:09 gkasireddy202

@nilesh-simform I have checked from the Android Studio's Apk Analyzer its not showing any issue. Now only getting warning when pushing to google play.

nidhish-icode avatar Sep 26 '25 11:09 nidhish-icode

For me, the error was fixed by upgrading "react-native-image-crop-picker" to version 0.51.0 or the latest release.

Henggg22 avatar Sep 30 '25 09:09 Henggg22

After analyze the app, i am getting the warning in my AAB but not in my APK, why is that?

Resource-4 avatar Oct 06 '25 05:10 Resource-4

is there any update of this issue ?

NikhilMasurkar avatar Oct 06 '25 08:10 NikhilMasurkar

Upgrading to 0.51.0 resolved the issue for me, also have received the approval

nilesh-simform avatar Oct 09 '25 14:10 nilesh-simform

This issue is good for closing. Updating to the 0.51.1 version fixes the issue.

night-fury-rider avatar Nov 12 '25 14:11 night-fury-rider