Patrick Goode
Patrick Goode

Reputation: 1452

Xamarin android hangs on start

Using visual studio 15.7.4

Xamarin 4.10.10.2

Xamarin forms project

compile version api level 26

target android version api level 26

release mode

sdk link assemblies only

using Xamarin forms 3.1.0

Issue: app starts fine (although long startup time) in debug mode. After installed to 2 different real phones the app splash screen shows on launch but hangs indefinitely

Upvotes: 3

Views: 1484

Answers (2)

tstark7
tstark7

Reputation: 71

The solution for me was to enable "Zipalign" on the "Signing and aligning APK file(s)" task in my Xamarin Android build definition on Azure Devops (previously VSTS). I got the answer from here

Upvotes: 3

Patrick Goode
Patrick Goode

Reputation: 1452

This turned out to be something with the build definition in VSTS, as it worked when built right from Visual Studio

Upvotes: 0

Related Questions