You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am in the process of releasing my APP to production. Now in the Google Play Console I got the warning that some libraries are not 16 KB aligned. This seems to include SKIA.
I already tried using a ndk >= 28 in my android/build.gradle as well as adding the following to my android/app/build.gradle:
externalNativeBuild { // For ndk-build, instead use the ndkBuild block. cmake { // Passes optional arguments to CMake. arguments "-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON" } }
Expected behavior:
librnskia.so should be aligned and compatible with 16 KB page-size environments.
Actual behavior:
check_elf_alignment.sh flags librnskia.so as unaligned.
Relevant documentation: Android docs on flexible page size support
Request:
Could you please verify if Skia is being built with the correct alignment flags?
Is there any additional configuration needed with Skia or am I doing something wrong?
According to the check_elf_alignment.sh script and the emulator image, which usually throws a warning if a library is unaligned, this seems to be the only change to build with 16 KB page size support enabled.
When I get the time, I'll also run the end-to-end tests in the 16 KB emulator image to verify that everything is working as expected.
Description
I am in the process of releasing my APP to production. Now in the Google Play Console I got the warning that some libraries are not 16 KB aligned. This seems to include SKIA.
I already tried using a ndk >= 28 in my
android/build.gradle
as well as adding the following to myandroid/app/build.gradle
:externalNativeBuild { // For ndk-build, instead use the ndkBuild block. cmake { // Passes optional arguments to CMake. arguments "-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON" } }
Expected behavior:
librnskia.so should be aligned and compatible with 16 KB page-size environments.
Actual behavior:
check_elf_alignment.sh flags librnskia.so as unaligned.
Relevant documentation:
Android docs on flexible page size support
Request:
Could you please verify if Skia is being built with the correct alignment flags?
Is there any additional configuration needed with Skia or am I doing something wrong?
React Native Skia Version
2.0.0-next.1
React Native Version
0.78.0
Using New Architecture
Steps to Reproduce
Snack, Code Example, Screenshot, or Link to Repository
Don't have a reproducer yet but can create one if needed.
The text was updated successfully, but these errors were encountered: