Package Details: android-environment 7-1

Git Clone URL: https://aur.archlinux.org/android-environment.git (read-only, click to copy)
Package Base: android-environment
Description: Script providing common environment variables and functions for Android builds.
Upstream URL: https://aur.archlinux.org/packages/android-evironment
Licenses: MIT
Submitter: hipersayan_x
Maintainer: hipersayan_x
Last Packager: hipersayan_x
Votes: 0
Popularity: 0.000000
First Submitted: 2019-06-11 16:31 (UTC)
Last Updated: 2025-01-16 22:49 (UTC)

Latest Comments

Martchus commented on 2025-01-11 23:35 (UTC) (edited on 2025-01-11 23:40 (UTC) by Martchus)

I tested this now for x86-64 with a Qt 6 app in an emulator using an Android 15 image with 16 KB page sizes. Before I always got misleading errors (e.g. java.lang.UnsatisfiedLinkError: dlopen failed: empty/missing DT_HASH/DT_GNU_HASH in "/data/app/~~mkBCTsfBY7VFxZ87MOcKXg==/io.github.martchus.syncthingtray-RUFX3v6OMOBtPhL22vVNRQ==/lib/x86_64/libz.so" (new hash type from the future?)) but with all libraries recompiled with this additional flag it works.

Martchus commented on 2025-01-11 23:14 (UTC)

Could you add the following change? https://github.com/Martchus/PKGBUILDs/commit/a6e6afdd0ad431aff40798d9a57006e4fae9de34

This is about https://developer.android.com/guide/practices/page-sizes.

I have already built many packages with these flags and they compile fine and are considered "good" by the script in the mentioned documentation. I still have to do a final test with all libraries re-compiled in an emulated system, though.