Shell icon indicating copy to clipboard operation
Shell copied to clipboard

Error causes it not to start on Android, tested on several devices

Open Yusuke1998 opened this issue 8 months ago • 4 comments

Hello, excellent app, little by little I have been doing several things as practice in a personal project.

It happens that of the examples shown in AvaloniaInside.Shell, the ShellBottomCustomNavigator example does not start and does not show an error either. On the contrary, the ShellExample does start without incident. Another thing is that initially ShellBottomCustomNavigator didn't even work on Desktop, I had to update some libraries, since they have the static Avalonia version. I also think the .net version was different than ShellExample.

This is the error when the app is closed image

These are some of the changes I made so that it would compile without an incompatibility error with the Shell library. image image

In AndroidManifest, MainActivity and SplashActivity I don't have any changes added, everything is as it was downloaded image

I created a new app in which I have models, sqlite, connection to an API, etc. It works fine on desktop, but on mobile the same thing happens to ShellBottomCustomNavigator, I have not been able to find the error, since there is no obvious error in the terminal, the app just closes when trying to start

I tested this by installing the app both debug and release on 3 different Android devices and the same thing happened on all of them, reviewing the code I did not find an obvious difference with ShellExample

Yusuke1998 avatar May 29 '24 20:05 Yusuke1998