Skip to content

Fix Android trimming crash and warnings - #164

Merged
winnerspiros merged 4 commits into
masterfrom
fix-android-trimming-crash-v2-11578606248021965789
Apr 7, 2026
Merged

Fix Android trimming crash and warnings#164
winnerspiros merged 4 commits into
masterfrom
fix-android-trimming-crash-v2-11578606248021965789

Conversation

@google-labs-jules

Copy link
Copy Markdown

Resolves the fatal ILLink crash IL1012 by adding missing [UnconditionalSuppressMessage] attributes to reflection-heavy methods in OsuGameAndroid.cs and OboeAudioRedirector.cs. Also suppresses several IL2026 and IL2067 warnings in osu.Game related to Newtonsoft.Json, dynamic binding, and Activator.CreateInstance. Significantly expands Linker.xml to preserve all main ruleset assemblies (Osu, Taiko, Catch, Mania) and core game hierarchies (Mods, RulesetInfo, RulesetStore) to ensure the APK is functional at runtime.


PR created automatically by Jules for task 11578606248021965789 started by @winnerspiros

- Resolves build failures in .NET 10 by correctly suppressing reflection warnings in OsuGameAndroid.cs and OboeAudioRedirector.cs.
- Suppresses several IL2026 and IL2067 warnings in osu.Game identified in build logs.
- Strengthens Linker.xml to preserve all main ruleset assemblies and core game hierarchies to ensure runtime stability.
@google-labs-jules

Copy link
Copy Markdown
Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

- Resolves fatal ILLink crash (IL1012) by correctly suppressing reflection
  analysis in OsuGameAndroid.cs and OboeAudioRedirector.cs.
- Fixes IDE0005/IDE0055 code quality issues by removing unnecessary
  usings and correcting indentation in LegacyScoreDecoder.cs.
- Fixes 'Sequence contains no elements' failure in DailyChallenge tests
  by preserving Room and PlaylistItem types in Linker.xml.
- Strengthens Linker.xml with explicit preservation for all main
  ruleset assemblies and core game hierarchies to ensure a working APK.
- Correctly silences IL2026/IL2067 warnings in osu.Game using
  UnconditionalSuppressMessage.
- Resolves fatal ILLink crash (IL1012) by correctly suppressing reflection analysis in OsuGameAndroid.cs and OboeAudioRedirector.cs.
- Fixes IDE0005/IDE0055 code quality issues by removing unnecessary usings and correcting indentation in APIAccess.cs, APIRequest.cs, and LegacyScoreDecoder.cs.
- Fixes 'Sequence contains no elements' failure in DailyChallenge tests and other multiplayer test timeouts by preserving Room, PlaylistItem, APIUser, and ScoreInfo types in Linker.xml.
- Strengthens Linker.xml with explicit preservation for all main ruleset assemblies and core game hierarchies to ensure a working APK.
- Correctly silences IL2026/IL2067 warnings in osu.Game using UnconditionalSuppressMessage.
- Resolves fatal ILLink crash (IL1012) by correctly suppressing reflection analysis in OsuGameAndroid.cs and OboeAudioRedirector.cs.
- Fixes IDE0005/IDE0055 code quality issues by removing unnecessary usings and correcting indentation/line endings in APIAccess.cs, APIRequest.cs, and LegacyScoreDecoder.cs.
- Fixes 'Sequence contains no elements' failure in DailyChallenge tests and other multiplayer test timeouts by preserving Room, PlaylistItem, APIUser, and ScoreInfo types in Linker.xml.
- Strengthens Linker.xml with explicit preservation for all main ruleset assemblies and core game hierarchies to ensure a working APK.
- Correctly silences IL2026/IL2067 warnings in osu.Game using UnconditionalSuppressMessage.
- Standardized file encodings and line endings (CRLF + BOM) for modified files.
@winnerspiros
winnerspiros merged commit 2b35972 into master Apr 7, 2026
7 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant