Xamarin-Visual Studio卡在zipalign.exe [英] Xamarin - Visual Studio stuck at zipalign.exe

查看:161
本文介绍了Xamarin-Visual Studio卡在zipalign.exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当尝试在Android设备上部署应用程序时,VS停留在这里:

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"

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

推荐答案

我在使用任何模拟器的Visual Studio 2015中都遇到了相同的问题.就我而言,事实证明我不得不更改包装选项才能解决该问题.

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. 转到您的项目设置.
  2. 选择 Android选项.
  3. 选择标签包装.
  4. 取消选择使用快速部署选项,如屏幕截图所示.
  5. 按F5键,然后就可以了:-)
  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!

这篇关于Xamarin-Visual Studio卡在zipalign.exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆