Android app crashes while using Compatibility Relative Layout in .NET MAUI #24893
Labels
migration-compatibility
Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert
platform/android 🤖
t/bug
Something isn't working
Description
While migrating Xamarin.forms project to .NET MAUI, Android app crashes while rendering Relative Layout.
As per .NET MAUI document, I have replaced RelativeLayout with Compatibility RelativeLayout as shown below, issue still persists.
<ContentPage.Content>
compat:RelativeLayout
</compat:RelativeLayout>
</ContentPage.Content>
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
Unknown/Other
Is this a regression from previous behavior?
Yes, this used to work in Xamarin.Forms
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android11
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: