❔ avalonia cross platform issue
Im trying to port my avalonia project to android, but it just shows a white screen, android code is based on the hello world sample and the project structure was re-shaped around the "Main, Main.Desktop, Main.Android" style of project management
5 Replies
csproj.android:
main csproj
app.axaml
app.axaml.cs
Android isn't a desktop app.
It's an
ISingleViewApplicationLifetime
at best...you still don't control the window, AFAIK, but I haven't used Avalonia with mobile.
I would check the samples in their repo or maybe dig into how Wieslaw has his stuff setup. eg. https://github.com/wieslawsoltes/ChatGPT/blob/main/src/ChatGPT.UI.Android/SplashActivity.csWas this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.