Android app crashes on startup #8133
AzuxirenLeadGuy
started this conversation in
General
Replies: 2 comments 6 replies
-
Hi Without an error message it's not really possible to help you here. I think you can understand that. But I think you also don't see an error, instead your App just crashes. But I have good news, you can log unhandled exceptions and write them to a log file for example. https://docs.avaloniaui.net/docs/getting-started/unhandledexceptions I hope this helps. Happy coding |
Beta Was this translation helpful? Give feedback.
6 replies
-
@AzuxirenLeadGuy something in your ui isnt measuring correctly... you have some embedded native controls? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am building the
avalonia.xplat
application for android. When I run it on theDebug
configuration in Visual Studio, It runs fine. However, if I close the debugging session and run the app again on the android emulator, it crashes on startup. Similarly, if I build and deploy it on theRelease
configuration, the app is deployed but it crashes on startup.EDIT:
This video shows what I see while I run it:
Thanks to @timunie , The exception message is known. It is as shown
Please let me know how to solve this. Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions