Android APK only works on Emulator

Kahle, Janik, SEVEN PRINCIPLES 1 Reputation point
2021-03-26T09:12:47.213+00:00

Hello all,

I'm a bit desperate at the moment, my app works fine in the emulator, but as soon as I export/archive it and install it on my smartphone, the app gets stuck in the white splash screen and then crashes. What could be the reason for this? I don't get any error message in Visual Studio, since it runs on the emulator without any problems. I am really a bit stumped with this....

Best regards

Janik

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,293 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,234 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. cristopheB 551 Reputation points
    2021-03-26T10:02:13.143+00:00

    Hello,
    put your device in a debug mode -> go to setting tap 7 times to build version and you have acces to the menu developer

    after, debug and tell us