Hard crash on Android due to conflicting linux and android SDL3 libs
Susko3 opened this issue · 1 comments
Susko3 commented
(Please note that the version of ppy.SDL3-CS.Android
and ppy.SDL3-CS
don't match on master
, but this is unrelated.)
The compiler will package the linux libs (from SDL3-CS) instead of the android libs (from SDL3-CS.Android). A local SDL3-CS nuget without linux libs works fine.
2>libSDL3.so: Warning XA4301 : APK already contains the item lib/arm64-v8a/libSDL3.so; ignoring.
2>libSDL3.so: Warning XA4301 : APK already contains the item lib/armeabi-v7a/libSDL3.so; ignoring.
2>libSDL3.so: Warning XA4301 : APK already contains the item lib/x86/libSDL3.so; ignoring.
Susko3 commented
The solution might be to move the android libSDL3.so into base SDL3-CS
project. See dotnet/android#8794 (comment). iOS libs are already in the base project.