Xamarin ZipAlign未找到 [英] Xamarin ZipAlign not found
问题描述
当我收到此错误:
C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(2,2): Error MSB6004: The specified task executable location "C:\Users\OP\AppData\Local\Android\android-sdk\\tools\zipalign.exe" is invalid. (MSB6004) (HelloWorld)
在看文件的路径我没有看到一个zipalign.exe的文件夹(也双\\显得神秘)。在
When looking at the file path I don't see a zipalign.exe in the folder (also the double \\ seems mysterious).
我刚安装了Xamarin所以也许这是一个糟糕的安装?
I just installed Xamarin so maybe it was a bad installation?
我可以关闭zipalign?
Can I turn off zipalign?
推荐答案
发现的 Xamarin论坛解决方案一>:
这是谷歌最新的SDK,今天发布,各地移动一些东西。 我们是preparing的更新来处理新的位置
The latest SDK from Google, released today, moved some things around. We're preparing an update to handle the new locations
您可以解决的问题,通过寻找Android的SDK目录 你的系统,然后复制zipalign从集结工具/ 19.1.0 目录工具目录
You can work around the issue by finding the android-sdk directory on your system, then copying zipalign from the build-tools/19.1.0 directory to the tools directory
这篇关于Xamarin ZipAlign未找到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!