Android Ant build error=exec shell返回:1

Android Ant build error=exec shell返回:1,android,temenos-quantum,Android,Temenos Quantum,我在科尼工作室做一个演示项目。在运行Android应用程序时,我总是遇到Ant构建错误 请检查错误日志 -post-package: [exec-shell] [exec-shell] /Users/mac/Library/Android/sdk/tools/ant/build.xml:1037: The following error occurred while executing this line:-do-debug: [exec-shell] [exec-shell] [zipa

我在科尼工作室做一个演示项目。在运行Android应用程序时,我总是遇到
Ant构建错误

请检查错误日志

-post-package:
[exec-shell] 
[exec-shell] /Users/mac/Library/Android/sdk/tools/ant/build.xml:1037: The following error occurred while executing this line:-do-debug:
[exec-shell] 
[exec-shell]  [zipalign] Running zip align on final apk...
[exec-shell] /Users/mac/Library/Android/sdk/tools/ant/build.xml:1039: The following error occurred while executing this line:
[exec-shell] /Users/mac/Library/Android/sdk/tools/ant/build.xml:336: Execute failed: java.io.IOException: Cannot run program "/Users/maca/Library/Android/sdk/tools/zipalign" (in directory "/Users/mac/KonySampleApps/temp/DisplayText/build/luaandroid/dist/DisplayText"): error=13, Permission denied
[exec-shell]    at java.lang.ProcessBuilder.processException(ProcessBuilder.java:478)
日志显示文件存在权限问题,但我同时授予了读/写权限,甚至没有运气,我正在使用
MacBookPro
。帮我摆脱这个问题。提前谢谢


从post获得解决方案

检查
/Users/maca/Library/Android/sdk/tools/zipalign
是否存在并可执行。谷歌经常移动zipalign(以及其他工具)


如果缺少,请将一个(最新的)从
/Users/maca/Library/Android/sdk/build tools/…
复制到
/Users/maca/Library/Android/sdk/tools

检查
/Users/maca/Library/Android/sdk/tools/zipalign
是否存在且可执行。谷歌经常移动zipalign(以及其他工具)

如果缺少,请将一个(最新的)从
/Users/maca/Library/Android/sdk/build tools/…
复制到
/Users/maca/Library/Android/sdk/tools