2 parents 9c7d4d1 + 2d41859 commit 341ef3cCopy full SHA for 341ef3c
2 files changed
global.json
@@ -4,4 +4,4 @@
4
"rollForward": "latestFeature",
5
"allowPrerelease": false
6
}
7
-}
+}
osu.Android/OsuGameActivity.cs
@@ -145,7 +145,14 @@ protected override void OnCreate(global::Android.OS.Bundle? savedInstanceState)
145
{
146
base.OnCreate(savedInstanceState);
147
148
- global::Java.Lang.JavaSystem.LoadLibrary("osu.Android.Native");
+ try
149
+ {
150
+ global::Java.Lang.JavaSystem.LoadLibrary("osu.Android.Native");
151
+ }
152
+ catch (Exception e)
153
154
+ global::Android.Util.Log.Error("OsuGameActivity", $"Failed to load native library: {e}");
155
156
157
// OnNewIntent() only fires for an activity if it's *re-launched* while it's on top of the activity stack.
158
// on first launch we still have to fire manually.
0 commit comments