Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xamarin - Visual Studio stuck at zipalign.exe

Tags:

When trying to deploy an app in Android Device, VS is stuck here:

1>C:\Users\George\AppData\Local\Android\android-sdk\build-tools\23.0.1\zipalign.exe 4 "C:\Users\George\Documents\Visual Studio 2015\Projects\SGUotA-Xamarin\BBXamarin\BBXamarin\BBXamarin.Droid\bin\Debug\BBXamarin.Droid-Signed-Unaligned.apk" "bin\Debug\BBXamarin.Droid-Signed.apk"

Can anyone propose a solution for this? screenshot of the problem

like image 779
George Makrakis Avatar asked Nov 21 '16 12:11

George Makrakis


1 Answers

I came across the same issue in Visual Studio 2015 using any emulator. In my case, it turned out that I had to change a packaging option to get rid of the problem.

  1. Go to your project settings.
  2. Select Android Options.
  3. Choose the tab Packaging.
  4. Deselect the Use Fast Deployment option as shown in the screenshot.
  5. Hit the F5 key and there you go :-)

The deployment appears to be a touch slower, however, the emulator executes the software much faster. Enjoy!

enter image description here

like image 165
Quality Catalyst Avatar answered Sep 23 '22 21:09

Quality Catalyst