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
When creating a fresh .NET 9 MAUI project and trying to deploy it on an android 15 device with 16kb page size enabled the app won't start. Problem happens on emulator and real device.
I'm curious about this as well. Is there some way to signal using 16k page aligned libraries? I find the following in my APK to be unaligned (all of the AOT ones are aligned, but these are prebuilt before the app by Microsoft, I believe) when compiling for .NET 8 via .NET 9.0.200
libSystem.Security.Cryptography.Native.Android.so
libmonodroid.so
libmono-component-marshal-ilgen.so
libmonosgen-2.0.so
libSystem.IO.Compression.Native.so
libSystem.Native.so
I do indeed so that at least Microsoft.NETCore.App.Runtime.Mono.android-arm64/8.0.13/runtimes/android-arm64/native/libmonosgen-2.0.so is not properly aligned but 9.0.2 is so that might be a clue. Does this require actually TARGETING .NET 9 (net9.0-android) or is it enough to build with the .NET 9 tooling?
Description
When creating a fresh .NET 9 MAUI project and trying to deploy it on an android 15 device with 16kb page size enabled the app won't start. Problem happens on emulator and real device.
Steps to Reproduce
Link to public reproduction project repository
https://github.com/phillippschmedt/Android16KBProblems
Version with bug
9.0.40 SR4
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
No response
Affected platforms
Android
Affected platform versions
Android 15 16Kb enabled emulator or real device with 16kb enabled (pixel 8a, pixel 8)
Did you find any workaround?
No
Relevant log output
The text was updated successfully, but these errors were encountered: