Skip to content

Instantly share code, notes, and snippets.

@MisileLab
Created April 28, 2024 08:53
Show Gist options
  • Save MisileLab/2ab2e846af6dfa38d346dccd77bdd1bd to your computer and use it in GitHub Desktop.
Save MisileLab/2ab2e846af6dfa38d346dccd77bdd1bd to your computer and use it in GitHub Desktop.
System.TypeInitializationException: The type initializer for 'SkiaSharp.SKImageInfo' threw an exception.
---> System.DllNotFoundException: Unable to load shared library 'libSkiaSharp' or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable:
libfontconfig.so.1: cannot open shared object file: No such file or directory
/nix/store/xvsl0400adkn3ypd9lyg8acl7qim02kb-dotnet-runtime-8.0.4/shared/Microsoft.NETCore.App/8.0.4/libSkiaSharp.so: cannot open shared object file: No such file or directory
/nix/store/7n255jnbyjxqk031daqfxjvajbby1gpi-galaxy-buds-client-4.6.0/lib/galaxy-buds-client/liblibSkiaSharp.so: cannot open shared object file: No such file or directory
/nix/store/xvsl0400adkn3ypd9lyg8acl7qim02kb-dotnet-runtime-8.0.4/shared/Microsoft.NETCore.App/8.0.4/liblibSkiaSharp.so: cannot open shared object file: No such file or directory
/nix/store/7n255jnbyjxqk031daqfxjvajbby1gpi-galaxy-buds-client-4.6.0/lib/galaxy-buds-client/libSkiaSharp: cannot open shared object file: No such file or directory
/nix/store/xvsl0400adkn3ypd9lyg8acl7qim02kb-dotnet-runtime-8.0.4/shared/Microsoft.NETCore.App/8.0.4/libSkiaSharp: cannot open shared object file: No such file or directory
/nix/store/7n255jnbyjxqk031daqfxjvajbby1gpi-galaxy-buds-client-4.6.0/lib/galaxy-buds-client/liblibSkiaSharp: cannot open shared object file: No such file or directory
/nix/store/xvsl0400adkn3ypd9lyg8acl7qim02kb-dotnet-runtime-8.0.4/shared/Microsoft.NETCore.App/8.0.4/liblibSkiaSharp: cannot open shared object file: No such file or directory
at SkiaSharp.SkiaApi.sk_colortype_get_default_8888()
at SkiaSharp.SKImageInfo..cctor()
--- End of inner exception stack trace ---
at Avalonia.Skia.PlatformRenderInterface..ctor(Nullable`1 maxResourceBytes)
at Avalonia.Skia.SkiaPlatform.Initialize(SkiaOptions options)
at Avalonia.SkiaApplicationExtensions.<>c.<UseSkia>b__0_0()
at Avalonia.AppBuilder.SetupUnsafe()
at Avalonia.AppBuilder.Setup()
at Avalonia.AppBuilder.SetupWithLifetime(IApplicationLifetime lifetime)
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, ShutdownMode shutdownMode)
at GalaxyBudsClient.Program.Main(String[] args) in /build/source/GalaxyBudsClient/Program.cs:line 75
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment