-
Notifications
You must be signed in to change notification settings - Fork 561
Description
Description
I am trying to upgrade my dotnet MAUI app to support Android 16 kb pages. I searched here and either couldn't come up with a good search list or there isn't any issue here already. Sorry if I missed one. Please point me to it if I did.
I installed the latest net9 dotnet for MAUI, installed / updated all workloads and when I use the readelf tool it still shows all .so files Flags: 0x0.
It is my understanding that is how you tell if the files have the correct 16kb page size.
So as part of diagnosing this issue I did a dotnet new and created a brand new maui application. I did the build and this one also shows the same Flags: 0x0 for all .so files included ones that should have been compiled from the source like libaot-Test16kb.dll.so.
So how do I fix this?
Steps to Reproduce
- Install latest release net9 sdk
- dotnet new maui Test16kb
- Add AndroidEnable16kbPageSize True to csproj
- Build app
- Inspect aab or apk contents for lib/*.so files and see they all have the Flags: 0x0 so they are not 16kb aligned
Link to public reproduction project repository
No response
Version with bug
9.0.110 SR11
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 15
Did you find any workaround?
No