Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Error in Build Process

Discussion in 'Android' started by Rajmahal, Jul 7, 2014.

  1. Rajmahal

    Rajmahal

    Joined:
    Apr 20, 2011
    Posts:
    2,101
    Hi,

    I've just started porting my Windows Phone game to Android and I'm getting the following exception during build:

    Error building Player: Win32Exception: ApplicationName='C:/Users/Raj/AppData/Local/Android/android-sdk\tools\zipalign.exe', CommandLine='4 "C:\Users\Raj\Documents\Gun Frenzy Unity\Action Game\ActionGame\Temp/StagingArea/Package_unaligned.apk" "C:\Users\Raj\Documents\Gun Frenzy Unity\Action Game\ActionGame\Temp/StagingArea/Package.apk"', CurrentDirectory='Temp/StagingArea'

    Anyone know what I'm doing wrong? I've installed the android SDK and JDK.

    Also, I haven't been able to find the USB drivers for the Xperia L phone in the android SDK. Whenever I try to update the drivers, Windows says I have the most up to date version of the drivers. Am I doing something wrong or am I okay from a driver perspective for testing on this device?
     
  2. Agent_007

    Agent_007

    Joined:
    Dec 18, 2011
    Posts:
    899
    About the zipalign.exe it has moved to another path. You can install latest Unity (4.5.2) to fix that
    http://forum.unity3d.com/threads/unity-patch-releases.246198/#post-1695225

    Does adb (adb devices) find the device when it is connected in debugging mode?