dexRelease (Thread[Task worker,5,main]) completed. Took 1.117 secs.
packageRelease (Thread[Task worker,5,main]) started.
packageRelease
Executing task ‘
packageRelease’ (up-to-date check took 1.485 secs) due to:
No history is available.
All input files are considered out-of-date for incremental task ‘
packageRelease’.
packageRelease (Thread[Task worker,5,main]) completed. Took 26.647 secs.
zipalignRelease (Thread[main,5,main]) started.
zipalignRelease
Executing task ‘
zipalignRelease’ (up-to-date check took 0.018 secs) due to:
No history is available.
Starting process ‘command ‘F:\javaAndroid\Android-SDK-Windows\Android-SDK\build-tools\22.0.1\zipalign.exe’’. Working directory: E:\CoCos\phone\build\jsb-binary\frameworks\runtime-src\proj.android-studio\app Command: F:\javaAndroid\Android-SDK-Windows\Android-SDK\build-tools\22.0.1\zipalign.exe -f 4 E:\CoCos\phone\build\jsb-binary\frameworks\runtime-src\proj.android-studio\app\build\outputs\apk\phone-release-unaligned.apk E:\CoCos\phone\build\jsb-binary\frameworks\runtime-src\proj.android-studio\app\build\outputs\apk\phone-release.apk
Successfully started process ‘command ‘F:\javaAndroid\Android-SDK-Windows\Android-SDK\build-tools\22.0.1\zipalign.exe’’
Unable to open ‘E:\CoCos\phone\build\jsb-binary\frameworks\runtime-src\proj.android-studio\app\build\outputs\apk\phone-release-unaligned.apk’ as zip archive
zipalignRelease FAILED
zipalignRelease (Thread[main,5,main]) completed. Took 0.634 secs.
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘
zipalignRelease’.
Process ‘command ‘F:\javaAndroid\Android-SDK-Windows\Android-SDK\build-tools\22.0.1\zipalign.exe’’ finished with non-zero exit value 1
- Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.
BUILD FAILED
Total time: 34 mins 59.346 secs
PREDEX CACHE HITS: 0
PREDEX CACHE MISSES: 5
Stopped 0 compiler daemon(s).
执行命令出错,返回值:1。
勾选Android Studio也出现了错误