无法编译 Android 应用程序 - Corona 中的错误 256

Unable to compile Android app - Error 256 in Corona

我正在使用 Corona SDK,我正在尝试为 Android 编译我的应用程序。我已经能够编译 iOS.

使用完全签名的分发密钥或调试密钥进行编译时出现以下错误:

Build Failed: Error code: 256

完整错误如下:

Sep 23 01:24:00.635 Building Android app for mgr****@**.com with 2017.3135
Sep 23 01:24:02.541 BUILD SUCCESSFUL
                    Total time: 0 seconds
Sep 23 01:24:02.542 
Sep 23 01:25:24.905 BuildID: 59c5a9a30bb42
Sep 23 01:25:34.119      [exec] Result: 1
Sep 23 01:25:36.428 BUILD FAILED
                    /Applications/Corona/Corona Simulator.app/Contents/Resources/build.xml:479: The following error occurred while executing this line:
                    /Applications/Corona/Corona Simulator.app/Contents/Resources/build.xml:454: jarsigner returned: 1

                    Total time: 6 seconds
Sep 23 01:25:36.539 Android build failed (256) after 95 seconds
Sep 23 01:25:36.816 ERROR: Build Failed: Error code: 256

我已尝试 Google Play 和 Amazon 目标,结果相同。

非常感谢任何想法。

我能够在另一台机器 (Windows) 上编译完全相同的文件,没有任何问题。我想这取决于另一台机器上的 Java 安装。

有趣的是,Corona 在 Windows 上需要 Java 的 32 位版本,这意味着下载稍旧的 SDK/JDK(最新的 SDK 只有 64 位版本)。我的 Mac 有最新的 64 位版本,Corona 没有抱怨,但无法使用它来构建。