# Android Build Failed "Can't find ..\\..\\\[Project\]-debug.apk"

**URL:** <https://forums.unrealengine.com/t/android-build-failed-cant-find-project-debug-apk/360449>\
**Category:** Platform & Builds\
**Tags:** Android-Packaging, deployment-failed, unreal-engine, build-failed, question\
**Created:** [June 11, 2016, 5:52pm UTC](https://forums.unrealengine.com/t/android-build-failed-cant-find-project-debug-apk/360449 "2016-06-11T17:52:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dbrizov](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dbrizov](https://forums.unrealengine.com/u/dbrizov)\
**Post date:** [June 11, 2016, 5:52pm UTC](https://forums.unrealengine.com/t/android-build-failed-cant-find-project-debug-apk/360449/1 "2016-06-11T17:52:05Z")

</div>

Hi guys. I know there are many questions like this one, but I don’t get why the build fails. I had problems with the **android-ndk** , then I had other issues with **apache-ant**. I fixed everything thanks to the other people in the community, but now I get an error that I can’t find in the **ANSWERHUB**

These are my settings:

 ![94303-unreal-android-settings.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/d/e/fde8119bb4d2faf52d009e8a65c090a64e91fbcf.png)

Here is the log:

```
LogPlayLevel: UnrealBuildTool: ====12.6.2016 �. 10:00:10====PERFORMING FINAL APK PACKAGE OPERATION================================================
LogPlayLevel: UnrealBuildTool: Making .apk with Ant... (note: it's safe to ignore javac obsolete warnings)
LogPlayLevel: UnrealBuildTool: Buildfile: build.xml does not exist!
LogPlayLevel: UnrealBuildTool: Build failed
LogPlayLevel: UnrealBuildTool: Making .apk with Ant again to show errors
LogPlayLevel: UnrealBuildTool: Buildfile: build.xml does not exist!
LogPlayLevel: UnrealBuildTool: Build failed
LogPlayLevel: UnrealBuildTool: UnrealBuildTool Exception: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Denis\Documents\Unreal\Furry\Intermediate/Android/APK/bin/Furry-debug.apk'.
LogPlayLevel: UnrealBuildTool: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
LogPlayLevel: UnrealBuildTool: at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
LogPlayLevel: UnrealBuildTool: at UnrealBuildTool.UEDeployAndroid.MakeApk(AndroidToolChain ToolChain, String ProjectName, String ProjectDirectory, String OutputPath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bMakeSeparateApks, Boolean bIncrementalPackage, Boolean bDisallowPackagingDataInApk)
LogPlayLevel: UnrealBuildTool: at UnrealBuildTool.UEDeployAndroid.PrepTargetForDeployment(UEBuildTarget InTarget)
LogPlayLevel: UnrealBuildTool: at UnrealBuildTool.UnrealBuildTool.DoPostStartupStuffThatCanAccessConfigs(String[] Arguments)
LogPlayLevel: CommandUtils.Run: Run: Took 90.8136032s to run UnrealBuildTool.exe, ExitCode=5
LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Command failed (Result:5): C:\Program Files (x86)\Epic Games\4.12\Engine\Binaries\DotNET\UnrealBuildTool.exe Furry Android Development -Project=C:\Users\Denis\Documents\Unreal\Furry\Furry.uproject C:\Users\Denis\Documents\Unreal\Furry\Furry.uproj
ect -remoteini="C:\Users\Denis\Documents\Unreal\Furry" -noxge -NoHotReloadFromIDE -ignorejunk. See logfile for details: 'UnrealBuildTool-2016.06.12-09.58.40.txt'
LogPlayLevel: at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars)
LogPlayLevel: at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars)
LogPlayLevel: at AutomationTool.UE4Build.BuildWithUBT(String TargetName, UnrealTargetPlatform TargetPlatform, String Config, FileReference UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Dictionary`2 EnvVars)
LogPlayLevel: at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary`2 PlatformEnvVars, Nullable`1 InChangelistNumberOverride, Dictionary`2 InTargetToManifest)
LogPlayLevel: at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask)
LogPlayLevel: at BuildCookRun.DoBuildCookRun(ProjectParams Params)
LogPlayLevel: at AutomationTool.BuildCommand.Execute()
LogPlayLevel: at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
LogPlayLevel: at AutomationTool.Automation.Process(String[] CommandLine)
LogPlayLevel: at AutomationTool.Program.MainProc(Object Param)
LogPlayLevel: at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
LogPlayLevel: at AutomationTool.Program.Main()
LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=5 (5)
LogPlayLevel: Domain_ProcessExit
LogPlayLevel: copying UAT log files...
LogPlayLevel: Completed Launch On Stage: Build Task, Time: 92.314138
LogPlayLevel: BUILD FAILED

```

---

<div class="post-metadata">

**Author:** ![dbrizov](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dbrizov](https://forums.unrealengine.com/u/dbrizov)\
**Post date:** [June 12, 2016, 8:34am UTC](https://forums.unrealengine.com/t/android-build-failed-cant-find-project-debug-apk/360449/2 "2016-06-12T08:34:00Z")

</div>

Ok guys, I found what the problem was. The .apk couldn’t be found because it wasn’t created. The reason it wasn’t created was because I am trying to build with target **android-19** and I forgot to install the **SDK Platform** for **API-19** through the **Android SDK Manager**. Now everything is ok. My app is crashing, but I tried it with the platformer template, and it’s working like e charm.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_451ef1c5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_451ef1c5](https://forums.unrealengine.com/u/anonymous_user_451ef1c5)\
**Post date:** [October 11, 2017, 9:16pm UTC](https://forums.unrealengine.com/t/android-build-failed-cant-find-project-debug-apk/360449/3 "2017-10-11T21:16:26Z")

</div>

I have the same issue with UE unable to find debug.APK. So when I pull up Android SDK Manager I click on API-19 and then I get the message that it cant install. Done.Nothing was installed is the message. Would you have any idea why is that happening? Thank you.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_451ef1c5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_451ef1c5](https://forums.unrealengine.com/u/anonymous_user_451ef1c5)\
**Post date:** [October 11, 2017, 9:19pm UTC](https://forums.unrealengine.com/t/android-build-failed-cant-find-project-debug-apk/360449/4 "2017-10-11T21:19:46Z")

</div>

My log is similar to your:  
LOG FILE: MapCheck: Info Map check complete: 0 Error(s), 0 Warning(s), took 69.086ms to complete. UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Running UnrealHeaderTool “C:\Users\wispr\Documents\Unreal Projects\GAMA 4.15\Gama.uproject” “C:\Users\wispr\Documents\Unreal Projects\GAMA 4.15\Intermediate\Build\Android\Gama\Development\Gama.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Un attended -WarningsAsErrors -installed UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: C:\NVPACK\android-sdk-windows\tools\ant\build.xml:649: The following error occurred while executing this line: UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: ERROR: System.IO.FileNotFoundException: \>\>\>\>[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[Could not find file ‘C:\Users\wispr\Documents\Unreal Projects\GAMA 4.15\Intermediate/Android/APK/bin/Gama-debug.apk’.]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]\<\<\<\< UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: at [System.IO](http://System.IO).\_\_Error.WinIOError(Int32 errorCode, String maybeFullPath) UATHelper: Packaging (Android (ASTC)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): C:\Program Files\Epic Games\UE\_4.15\Engine\Binaries\DotNET\UnrealBuildTool.exe Android Development -Project="C:\Users\wispr\Documents\Unreal Projects\GAMA 4.15\Ga PackagingResults:Error: Error Unknown Error

BUT I DID WHAT YOU DID BUT WHEN I TRY TO INSTALL THE API-19 I GET THESE MESSAGE:  
DONE.NOTHING WAS INSTALLED. Would you know what went wrong? Thank’s.

---

<div class="post-metadata">

**Author:** ![dbrizov](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dbrizov](https://forums.unrealengine.com/u/dbrizov)\
**Post date:** [October 12, 2017, 5:53am UTC](https://forums.unrealengine.com/t/android-build-failed-cant-find-project-debug-apk/360449/5 "2017-10-12T05:53:35Z")

</div>

Try running the SDK Manager as administrator. Sometimes you can’t install packages if not run as admin.

---

<div class="post-metadata">

**Author:** ![pcjjdy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pcjjdy](https://forums.unrealengine.com/u/pcjjdy)\
**Post date:** [October 19, 2017, 3:05pm UTC](https://forums.unrealengine.com/t/android-build-failed-cant-find-project-debug-apk/360449/6 "2017-10-19T15:05:57Z")

</div>

Sometimes if you have the correct SDK version but appear this Error, please check if your SDK needs updating .)
