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

Win32Exception: ApplicationName='C:\Users\Me\AppData\Local\Android\android-sdk\build-tools\24.0.1

Discussion in 'Editor & General Support' started by tontawan, Aug 12, 2016.

  1. tontawan

    tontawan

    Joined:
    Aug 12, 2016
    Posts:
    4
    I need to ask you a favour. How do I fix it ?
    I use Unity 5.4.0 (64bit)
    upload_2016-8-12_11-58-44.png
     
  2. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,555
    The screenshot only shows part of the error.
    Please copy the full error message so we can see whats wrong.
     
  3. tontawan

    tontawan

    Joined:
    Aug 12, 2016
    Posts:
    4
    Error building Player: Win32Exception: ApplicationName='C:\Users\P'Kim\AppData\Local\Android\sdk\build-tools\23.0.3\aapt.exe', CommandLine='package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Users/P'Kim/AppData/Local/Android/sdk\platforms\android-23\android.jar" -F bin/resources.ap_', CurrentDirectory='Temp/StagingArea'
     
  4. tontawan

    tontawan

    Joined:
    Aug 12, 2016
    Posts:
    4
    in32Exception: ApplicationName='C:\Users\P'Kim\AppData\Local\Android\sdk\build-tools\23.0.3\aapt.exe', CommandLine='package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Users/P'Kim/AppData/Local/Android/sdk\platforms\android-23\android.jar" -F bin/resources.ap_', CurrentDirectory='Temp/StagingArea'
    System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process)
    System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process)
    System.Diagnostics.Process.Start ()
    (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()
    UnityEditor.Utils.Program.Start () (at C:/buildslave/unity/build/Editor/Mono/Utils/Program.cs:33)
    UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
    UnityEditor.Android.PostProcessAndroidPlayer.Exec (System.String command, System.String args, System.String workingdir, System.String[] progress_strings, Single progress_value, System.String errorMsg)
    UnityEditor.Android.PostProcessAndroidPlayer.CompileResources (System.String stagingArea, System.String packageName, UnityEditor.Android.AndroidLibraries androidLibraries)
    UnityEditor.Android.PostProcessAndroidPlayer.PostProcessInternal (System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry)
    UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry)
    UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (BuildPostProcessArgs args)
    UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316)
    UnityEditor.HostView:OnGUI()
     
  5. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,555
    You should copy the entire error message from the Console window. It should contain a lot of other information
     
  6. tontawan

    tontawan

    Joined:
    Aug 12, 2016
    Posts:
    4
    I don't understand.

    in Console have alert
    1.
    Win32Exception: ApplicationName='C:\Users\P'Kim\AppData\Local\Android\sdk\build-tools\23.0.3\aapt.exe', CommandLine='package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Users/P'Kim/AppData/Local/Android/sdk\platforms\android-23\android.jar" -F bin/resources.ap_', CurrentDirectory='Temp/StagingArea'
    System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process)
    System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process)
    System.Diagnostics.Process.Start ()
    (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()
    UnityEditor.Utils.Program.Start () (at C:/buildslave/unity/build/Editor/Mono/Utils/Program.cs:33)
    UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
    UnityEditor.Android.PostProcessAndroidPlayer.Exec (System.String command, System.String args, System.String workingdir, System.String[] progress_strings, Single progress_value, System.String errorMsg)
    UnityEditor.Android.PostProcessAndroidPlayer.CompileResources (System.String stagingArea, System.String packageName, UnityEditor.Android.AndroidLibraries androidLibraries)
    UnityEditor.Android.PostProcessAndroidPlayer.PostProcessInternal (System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry)
    UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry)
    UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (BuildPostProcessArgs args)
    UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316)
    UnityEditor.HostView:OnGUI()

    2.
    Error building Player: Win32Exception: ApplicationName='C:\Users\P'Kim\AppData\Local\Android\sdk\build-tools\23.0.3\aapt.exe', CommandLine='package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Users/P'Kim/AppData/Local/Android/sdk\platforms\android-23\android.jar" -F bin/resources.ap_', CurrentDirectory='Temp/StagingArea'