question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create snap from Avalonia app

See original GitHub issue

I’m beginner in both snapcraft and Avalonia but i would like to create a snap to learn.

I was able to create one but when it tries to initialize the GUI it’s running for a few minutes then:

Stack overflow.
Aborted (core dumped)

I don’t know how snap works internally but what i could figure out that i had to include two package for the base image in the snapcraft.yaml

  • libicu60 #For internalization
  • libgtk-3-0 #For Avalonia

Build command was: dotnet publish -c Release -r linux-x64

The full source is available here: Gitlab

Any idea how what’s the problem? Someone had similar issue?

OS: Ubuntu 18.04.4 LTS GNOME: 3.28.2

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
kekekekscommented, Mar 19, 2020

Yes this is the problem.

Wonderful. Now we have an actual case that could be reproduced on any machine thanks to the snapcraft containers. Created an issue in SkiaSharp

0reactions
Gillibaldcommented, Mar 19, 2020
Read more comments on GitHub >

github_iconTop Results From Across the Web

Problem to build snap for net6.0
Hello everyone! I'm designing the cross platform app using Avalonia (c# and net6.0). I want to use snap to distribute the app on...
Read more >
Developer Tools
Current styles can be snap-shotted by either pressing the Snapshot button or pressing Alt+S while hovering over the target window. Snap-shotting means that ......
Read more >
Avalonia Win32 Snap Compatibility - YouTube
Avalon Studio - Creating a Hello World Avalonia MVVM Application · Channel 18 Live on 23rd June 2023 · Lightning Talk Introduction to...
Read more >
Building Engaging Cross Platform Applications using Rider ...
Avalonia is a cross platform XAML framework for .NET. It lets you build rich application experiences using XAML markup language and C# (or ......
Read more >
Avalonia using VB? : r/visualbasic
My snap reaction to that would be no, due to this being a retrofit. It would really depend on the complexity and the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found