Search Unity

Question: "Error building Player:..."

Discussion in 'Android' started by tellemstevedave, Jul 15, 2013.

  1. tellemstevedave

    tellemstevedave

    Joined:
    Jul 15, 2013
    Posts:
    21
    I'm trying to get an android build running on my phone for the first time. I'm getting this error when I try and make an android build

    Error building Player: Win32Exception: ApplicationName='C:/Android/android-sdk\platform-tools\aapt.exe', CommandLine='package -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Android/android-sdk/platforms/android-17\android.jar" -F bin/resources.ap_', CurrentDirectory='Temp/StagingArea'

    Any suggestions?

    Thanks,
    S
     
  2. tellemstevedave

    tellemstevedave

    Joined:
    Jul 15, 2013
    Posts:
    21
  3. tellemstevedave

    tellemstevedave

    Joined:
    Jul 15, 2013
    Posts:
    21
    Ok I figured it out. Posting here in case anyone runs into it. If you install the android dev kit newest android version, unity won't work. Even when I uninstalled the latest and went back one it didn't work. Uninstalling the whole sdk and only installing fresh the second to last versiofixed not finding aapt.exe