gpt4 book ai didi

android - 未找到 Xamarin ZipAlign

转载 作者:IT老高 更新时间:2023-10-28 23:28:56 28 4
gpt4 key购买 nike

在 Xamarin 中点击播放按钮时,我收到此错误:

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(双\\似乎也很神秘)。

我刚刚安装了 Xamarin,所以可能是安装错误?

我可以关闭 zipalign 吗?

最佳答案

Xamarin forums 中找到了解决方案:

The latest SDK from Google, released today, moved some things around. We're preparing an update to handle the new locations

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

关于android - 未找到 Xamarin ZipAlign,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24441710/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com