Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions osu.Android.props
Original file line number Diff line number Diff line change
Expand Up @@ -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>$(AndroidLinkSkip);osu.Framework.Android;SDL3-CS</AndroidLinkSkip>
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>$(AndroidLinkSkip);osu.Android;osu.Framework.Android;SDL3-CS</AndroidLinkSkip>
Comment on lines +127 to +131
</PropertyGroup>

<ItemGroup>
Expand Down
Loading