茫茫網海中的冷日 - 對這文章發表回應
茫茫網海中的冷日
         
茫茫網海中的冷日
發生過的事,不可能遺忘,只是想不起來而已!
 恭喜您是本站第 1675412 位訪客!  登入  | 註冊
主選單

Google 自訂搜尋

Goole 廣告

隨機相片
F09_420.jpg

授權條款

使用者登入
使用者名稱:

密碼:


忘了密碼?

現在就註冊!

對這文章發表回應

發表限制: 非會員 可以發表

發表者: 冷日 發表時間: 2014/11/23 13:27:25
Error on android game building, Win32Exception: ApplicationName='F:/Android SDK\tools\zipalign.exe', CommandLine='4

Hi at all, I'm trying to develop my first game(in 2D) and when I try to build the game for android, after I've selected the android SDK Unity give me an error, that for me it's indecipherable. Error: Error building Player: Win32Exception: ApplicationName='F:/Android SDKtoolszipalign.exe', CommandLine='4 "F:DaniUnityCrazyCyclistTemp/StagingArea/Package_unaligned.apk" "F:DaniUnityCrazyCyclistTemp/StagingArea/Package.apk"', CurrentDirectory='Temp/StagingArea'
I've tryed to copy the apk in Temp/StagingArea/Package_unaligned.apk and I've installed it on my android phone and it works great but somewhere there must be a problem. Can you help me? :P
Thank you in advance! Soon

If you go into the root install of your android SDK and then go to the sdk/build-tools folder, you will find zipalign.exe, if you copy this from that folder to sdk/tools, it should work.
Give it a go and let me know how you get on
Here is a link to my question in which I was having the same problem:
http://answers.unity3d.com/questions/742757/android-build-error-error-building-player.html

Thank you jayfitz! you solved the problem!! anyway thanks to liortal too, i'm downlaoding the new version right now :) Thank you both guys ;D

it helped in my case too! thanks alot

me too thanks guys :)

I know the people on this site are quite vote lazy, but it's funny to see an answer that seems to have helped at least 3 people but it has no upvote. Upvoting (if you're able to) doesn't cost you anything.
What most people also forget is to look at the quality of the question and upvote the question as well. New users can't vote if they are below 15 karma. If they don't get some karma from those who are able to vote you won't get anything back from them since they simply can't.
(I've actually given more karma than i've received)

This was a bug that was resolved in Unity 4.5.1 p4 - http://forum.unity3d.com/threads/unity-patch-releases.246198/

Latest Unity version at this time (4.5.2) contains the fix. Get the latest version and this issue will be resolved.

I still have the problem on Mac. There's no zipalign.exe file there and Unity 4.5.2 still has the same issue :(

I have version Unity 4.5.3 on Mac and still not working. Also tried to place some zipalign from build-tools to tools, but nothing changed

I know it can be outdated but I stumbled to this issue with API 20 of Android, so i post the solution if somebody will need it.
@Nub3h you need to download Android SDK Build Tools, than in sdk/build tools 20.0.0 folder will appear, in which you will find the zipalign.exe. Rest is like posted above.


原文出處:Error on android game building, Win32Exception: ApplicationName='F:/Android SDK\tools\zipalign.exe', CommandLine='4 - Unity Answers
內容圖示
url email imgsrc image code quote
樣本
bold italic underline linethrough   












 [詳情...]
validation picture

注意事項:
預覽不需輸入認證碼,僅真正發送文章時才會檢查驗證碼。
認證碼有效期10分鐘,若輸入資料超過10分鐘,請您備份內容後,重新整理本頁並貼回您的內容,再輸入驗證碼送出。

選項

Powered by XOOPS 2.0 © 2001-2008 The XOOPS Project|