Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Visual Studio freezes when debugging on the Xamarin Android Player (XAP)

$
0
0

From time to time the Visual Studio freezes when debugging on the XAP emulator. Funny thing, in 50% of cases, it runs well when using Nexus 4 (Jelly Bean), but only in 5% cases works when using Nexus 4 (KitKat). The app works and debug well on the device. In the beginning of the app development, the emulators worked great. Once we added features in the app, the emulator began to fail. I am not sure whether these events (adding features and failing emulators) are related or not.

In order to fix this, I cleanup the solution and sometimes I need to manually uninstall the app from the emulator. This increases the chances to properly use the emulator with about 80% (this approach doesn't solve the issue all the time, so I don't even know that this is a real solution or just a luck). It's also worth saying that if I do not clean the solution before debugging next time, there's almost no chance to use the emulator because the VS will freeze again.

I don't know whether this is related or not, but from time to time I got an exception which says that the application doesn't support the emulator architecture (something like that; when I got this message again, I will return with the exact message). This happens when the VS wants to deploy to emulator [so the app is properly compiled, the old app is removed from the emulator and, instead of installing the app, the VS displays this message]. I fix this by cleaning up the solution and trying again.

Another useful information: the applications generally starts properly, the first view (login) is displayed on the emulator. Once I log in, the VS freezes and the next view is never pushed.

PS: I did not test what happens from Xamarin Studio and I can do that only if you think that this might help figuring out how to fix this. I do not intend to migrate to Xamarin Studio or to use both IDEs, one for development and the other for testing on the emulator.

Any help is appreciated. Thank you in advance!


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>