diff --git a/osu.Android.props b/osu.Android.props index db49b3d40316..d67e99a53b8f 100644 --- a/osu.Android.props +++ b/osu.Android.props @@ -123,8 +123,12 @@ the deferred-rule issue. osu.Framework.Android: carries AndroidGameActivity (RegisterAttribute-driven JNI glue). SDL3-CS: carries Org.Libsdl.App.SDLActivity whose (IntPtr, JniHandleOwnership) JNI - activation constructor is only called via JNI and has no managed call-graph path. --> - $(AndroidLinkSkip);osu.Framework.Android;SDL3-CS + activation constructor is only called via JNI and has no managed call-graph path. + osu.Android: contains OsuGameActivity whose build-generated (IntPtr, JniHandleOwnership) + JNI activation constructor (emitted by .NET Android build tooling for every [Activity] + subclass) has no managed callers and is trimmed by ILLink, causing the "Could not + activate JNI Handle … as managed type OsuGameActivity" crash at startup. --> + $(AndroidLinkSkip);osu.Android;osu.Framework.Android;SDL3-CS