-
Notifications
You must be signed in to change notification settings - Fork 564
Closed
Labels
Area: App RuntimeIssues in `libmonodroid.so`.Issues in `libmonodroid.so`.
Milestone
Description
Android application type
.NET 7.0 MAUI
Android for .NET (net7.0-android)
Affected platform version
.NET 7
Description
I'm currently generating the AOT Profiles for non shell apps in .NET MAUI
There's one place where it's currently falling back to System.Reflection.Emit
2022-07-25 11:25:06.254 14932-14932/? D/monodroid-assembly: Falling back to System.Reflection.Emit for delegate type '_JniMarshal_PPIZI_L': IntPtr n_OnCreateAnimation_IZI(IntPtr, IntPtr, Int32, Boolean, Int32)We only need these changes for NET7
Steps to Reproduce
If you run the following project ShellVsNonShell.zip
with the following logging enabled then you should see it popup in logcat
adb shell setprop debug.mono.log default,assembly,mono_log_level=debug,mono_log_mask=allYou might also see one around OnPageScrolled that's ok to ignore. We have a fix in the MAUI repository to remove this code path.
Did you find any workaround?
No response
Relevant log output
2022-07-25 11:25:06.254 14932-14932/? D/monodroid-assembly: Falling back to System.Reflection.Emit for delegate type '_JniMarshal_PPIZI_L': IntPtr n_OnCreateAnimation_IZI(IntPtr, IntPtr, Int32, Boolean, Int32)Metadata
Metadata
Assignees
Labels
Area: App RuntimeIssues in `libmonodroid.so`.Issues in `libmonodroid.so`.