Skip to content

Issue: Android 16 kb Page alignment #10

@josephscott123

Description

@josephscott123

Your Socket Mobile Developer ID

9bbd8cf3-a777-4c9d-bf1b-e83af7180e8a

Environment

Android 16
Google Pixel 8a
capture-android 1.8.47
I've also tried 1.8.9

Description

When I build my application and include the capture-android it includes several native libraries that are not aligned to the new 16 KB Pages which are going to be required soon on the Google App store.

/var/folders/t_/s1gw7szs74z5h_2pthf_t2m00000gn/T/build_out_XXXXX.w26fCs041n/lib/arm64-v8a/libjniload.so: \e[31mUNALIGNED\e[0m (212)
/var/folders/t_/s1gw7szs74z5h_2pthf_t2m00000gn/T/build_out_XXXXX.w26fCs041n/lib/arm64-v8a/libtensorflowlite_jni.so: \e[31mUNALIGNED\e[0m (2
12)

Steps to Reproduce

#1 Create a new Android App Project and include the Capture-android sdk.
#2 Build the app to a apk file.
Follow googles instructions to check the alignment of native libraries.

https://developer.android.com/guide/practices/page-sizes?authuser=1

Expected Behavior

All arm64-v8a native libraries should show as aligned to 16 kb pages.
All x86_64 libraries should show as aligned to 16 kb pages.

Actual Behavior

/var/folders/t_/s1gw7szs74z5h_2pthf_t2m00000gn/T/build_out_XXXXX.w26fCs041n/lib/arm64-v8a/libjniload.so: \e[31mUNALIGNED\e[0m (212)
/var/folders/t_/s1gw7szs74z5h_2pthf_t2m00000gn/T/build_out_XXXXX.w26fCs041n/lib/arm64-v8a/libtensorflowlite_jni.so: \e[31mUNALIGNED\e[0m (2
12)

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions