1

Kony Studio で 1 つのデモ プロジェクトを行っています。Android用のアプリケーションを実行している間、私は常にAnt build error.

エラーログを確認してください。

-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ます。この問題から抜け出すのを手伝ってください。前もって感謝します。

この投稿から解決策を得ました

4

1 に答える 1