Skip to content

.NET 9 Project won't start on Android with 16kb page size enabled #9829

@phillippschmedt

Description

@phillippschmedt

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

  1. Create an android 16kb emulator as described here: https://developer.android.com/guide/practices/page-sizes#16kb-emulator
  2. Create a new .NET 9 MAUI project
  3. Try to start on the emulator

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

Metadata

Metadata

Assignees

Labels

Area: App RuntimeIssues in `libmonodroid.so`.need-attentionA xamarin-android contributor needs to review

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions