Unity3D build error

◇◆丶佛笑我妖孽 提交于 2019-11-30 15:14:14

问题


Error building Player:

Win32Exception: ApplicationName='E:/adt-bundle-windows-x86_64-20131030/sdk\tools\zipalign.exe',
CommandLine='4 "C:\Users\Owner\Desktop\Folders\Unity exe\bbt - Copy\Temp/StagingArea/Package_unaligned.apk"
"C:\Users\Owner\Desktop\Folders\Unity exe\bbt - Copy\Temp/StagingArea/Package.apk"',
CurrentDirectory='Temp/StagingArea'

Why am I getting this error? Everything was fine. Suddenly got this error while building.


回答1:


It happens when a file can not be found in the correct folder ...sdk\tools\zipalign.exe.

In the yesterday published version of the SDK Tools the file "zipalign" moved from tools folder to build-tools/{version}. Just copy zipalign to "tools" folder and everything should work!



来源:https://stackoverflow.com/questions/24466503/unity3d-build-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!