You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo "::error::One or more required native libraries are missing. Check that the osu-framework submodule is initialised and the AndroidNativeLibrary glob in osu.Android.props resolves correctly."
279
+
echo "::error::One or more required native libraries are missing from the APK. Ensure ppy.osu.Framework.Android was properly restored from the winnerspiros GitHub Packages feed."
279
280
exit 1
280
281
fi
281
282
282
283
echo ""
283
284
echo "All required native libraries present ✓"
284
285
285
-
# Verify the BASS libraries are the Android-built versions, not the Linux desktop
286
-
# ones from the NativeLibs NuGet package. The Android libbass.so links against
287
-
# libOpenSLES.so (Android audio API); the Linux one links against libc.so.6.
288
-
echo ""
289
-
echo "Verifying native library ABI compatibility..."
if readelf -d "$TMPDIR/lib/arm64-v8a/libbass.so" | grep -q "libOpenSLES.so"; then
293
-
echo "✅ libbass.so is the correct Android build (links libOpenSLES.so)"
294
-
else
295
-
echo "::error::libbass.so in APK is NOT the Android build — it appears to be the Linux desktop version from ppy.osu.Framework.NativeLibs NuGet. The app will crash with DllNotFoundException."
296
-
echo "::error::Ensure ppy.osu.Framework.NativeLibs has ExcludeAssets=native in osu.Android.props."
Text="libbass.so not found in submodules/osu-framework/osu.Framework.Android/arm64-v8a/. Ensure the osu-framework submodule is initialised: git submodule update --init --recursive" />
105
-
</Target>
106
-
107
75
<PropertyGroup>
108
76
<!-- Fody does not handle Android build well, and warns when unchanged.
109
77
Since Realm objects are not declared directly in Android projects, simply disable Fody. -->
0 commit comments