简体   繁体   中英

Deployment Stuck in Visual Studio 2015 update 3 with xamarin

While deploying the app in visual basic 2015 update 3, it gets stuck.

  • When running the emulator initially and then deploying the app it opens another emulator and becomes deadlocked.

  • It also becomes stuck when simply deploying the app without opening the emulator.

Although the app did build successfully: screenshot .

I had the same issue yesterday. Apparently there's an update coming for xamarin but Visual Studio errors out. I would as Nika said make sure to remove the app from the emulator. Once done go to Tools -> Options -> Xamarin -> Other. Once there click the Check Now link and get the latest stable update. For some reason every time an Xamarin Update is coming Visual Studio errors out on me. Or freezes for that matter.

I would be careful with installing the latest update of Xamarin, as it does have a few bugs to work out (witnessed it firsthand with incredulous frustration). The problem might have to do with the Xamarin version you have installed in Visual Studio 2015 Update 3. If your version is 4.2.X (latest), you might experience more issues than just the 'error out'. I had to downgrade to 4.1.2 for everything to work properly again.

Hope this helps you.

Got the solution.

  1. t enter image description here he path of your app is not too large.Simple create your project in any drive3 with one folder name only.

2.Update your SDK manager with latest aAPI 23/24.

3.In SDK manager update only that tool which is necessary. PFA the Screenshot

I too have had weirdness with the Visual Studio Emulator for Android and visual studio appearing to be stuck at the "Deploying ..." step trying to launch the app for debugging.

What I discovered is that restarting both the emulator and visual studio seems to make things better for me once it starts to do this. Also, when debugging an app, it seems that exiting your app normally helps compared to when using the "Stop Debugging" button. For example, I started my app twice and killed it w/ the "Stop Debugging" button, but couldn't deploy/start the app a 3rd time w/out a restart of visual studio and the emulator.

Am using VS 2015 Community edition w/ update 3.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM