# Cmd.exe failed with args /c "C:\\NVPACK\\apache-ant-1.8.2/bin/ant.bat" -quiet debug

**URL:** <https://forums.unrealengine.com/t/cmd-exe-failed-with-args-c-c-nvpack-apache-ant-1-8-2-bin-ant-bat-quiet-debug/303236>\
**Category:** Debugging, Optimization, & Profiling\
**Tags:** unreal-engine, Android, CPP, question\
**Created:** [January 7, 2015, 3:50am UTC](https://forums.unrealengine.com/t/cmd-exe-failed-with-args-c-c-nvpack-apache-ant-1-8-2-bin-ant-bat-quiet-debug/303236 "2015-01-07T03:50:31Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![SkylarGreyGarethJohnson13\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SkylarGreyGarethJohnson13\_1](https://forums.unrealengine.com/u/SkylarGreyGarethJohnson13_1)\
**Post date:** [January 7, 2015, 3:50am UTC](https://forums.unrealengine.com/t/cmd-exe-failed-with-args-c-c-nvpack-apache-ant-1-8-2-bin-ant-bat-quiet-debug/303236/1 "2015-01-07T03:50:31Z")

</div>

I have been trying to build standard project without starter content.

I made this steps:

1. Installed Unreal Engine 4.6.1
2. Installed tadp-2.0r8-windows from "C:\Program Files\Epic Games\4.6\Engine\Extras\Android"
3. Opened the Unreal Engine 4 Launcher
4. Pressed the Launch Button of 4.6.1 on Engines
5. Created the new project with this settings:

- Mobile / Tablet

- Maximum Quality

- No Starter Content

1. After that I opened Visual Studio and in Solution Platforms choiced **“Development”** and **“Android”**
2. At the end I got these errors which I attached

 ![25888-untitled.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/f/7/1f7cb72d0a4fb073cd1ebae492dc4e14577b0ffb.png)

---

<div class="post-metadata">

**Author:** ![SkylarGreyGarethJohnson13\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SkylarGreyGarethJohnson13\_1](https://forums.unrealengine.com/u/SkylarGreyGarethJohnson13_1)\
**Post date:** [January 7, 2015, 2:03pm UTC](https://forums.unrealengine.com/t/cmd-exe-failed-with-args-c-c-nvpack-apache-ant-1-8-2-bin-ant-bat-quiet-debug/303236/2 "2015-01-07T14:03:28Z")

</div>

I created keystore in Android Studio and wrote information of keystore to the SigningConfig which located at the “C:\Program Files\Epic Games\4.6\Engine\Build\Android\Java”, but Visual Studio gave me same error

---

<div class="post-metadata">

**Author:** ![SkylarGreyGarethJohnson13\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SkylarGreyGarethJohnson13\_1](https://forums.unrealengine.com/u/SkylarGreyGarethJohnson13_1)\
**Post date:** [January 8, 2015, 3:10am UTC](https://forums.unrealengine.com/t/cmd-exe-failed-with-args-c-c-nvpack-apache-ant-1-8-2-bin-ant-bat-quiet-debug/303236/3 "2015-01-08T03:10:05Z")

</div>

I download Unreal Engine 4.6 GitHub version. after that i ran setup.bat and GenerateProjectFiles.bat, but Visual Studio error still exist

---

<div class="post-metadata">

**Author:** ![SkylarGreyGarethJohnson13\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SkylarGreyGarethJohnson13\_1](https://forums.unrealengine.com/u/SkylarGreyGarethJohnson13_1)\
**Post date:** [January 8, 2015, 10:49am UTC](https://forums.unrealengine.com/t/cmd-exe-failed-with-args-c-c-nvpack-apache-ant-1-8-2-bin-ant-bat-quiet-debug/303236/4 "2015-01-08T10:49:18Z")

</div>

If you will receive this error you have to open SDK Manager in “C:\NVPACK\android-sdk-windows” and you need to dowload all Tools. After that you can build your project

---

<div class="post-metadata">

**Author:** ![jakedubs](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jakedubs/32/88714_2.png) [@jakedubs](https://forums.unrealengine.com/u/jakedubs)\
**Post date:** [November 28, 2017, 2:57am UTC](https://forums.unrealengine.com/t/cmd-exe-failed-with-args-c-c-nvpack-apache-ant-1-8-2-bin-ant-bat-quiet-debug/303236/5 "2017-11-28T02:57:00Z")

</div>

Which tools? How do I download all of the tools?

---

<div class="post-metadata">

**Author:** ![Wilsman77](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Wilsman77](https://forums.unrealengine.com/u/Wilsman77)\
**Post date:** [November 30, 2017, 12:53pm UTC](https://forums.unrealengine.com/t/cmd-exe-failed-with-args-c-c-nvpack-apache-ant-1-8-2-bin-ant-bat-quiet-debug/303236/6 "2017-11-30T12:53:05Z")

</div>

once inside the Android SDK Manager just check the top box “Tools” and it’ll check all the boxes under. It’ll install build tools for every android version.

---

<div class="post-metadata">

**Author:** ![jakedubs](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jakedubs/32/88714_2.png) [@jakedubs](https://forums.unrealengine.com/u/jakedubs)\
**Post date:** [December 7, 2017, 1:20am UTC](https://forums.unrealengine.com/t/cmd-exe-failed-with-args-c-c-nvpack-apache-ant-1-8-2-bin-ant-bat-quiet-debug/303236/7 "2017-12-07T01:20:03Z")

</div>

I did that and it still failed…

 ![222827-untitled.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/a/c/bac774683f3f501abe4a3cd5057af54c358c1dd8.jpeg)

---

<div class="post-metadata">

**Author:** ![regeteyt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@regeteyt](https://forums.unrealengine.com/u/regeteyt)\
**Post date:** [December 8, 2017, 9:02pm UTC](https://forums.unrealengine.com/t/cmd-exe-failed-with-args-c-c-nvpack-apache-ant-1-8-2-bin-ant-bat-quiet-debug/303236/8 "2017-12-08T21:02:24Z")

</div>

ya encontraste una solucion? PD: hablo español

---

<div class="post-metadata">

**Author:** ![Neylson\_Reis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Neylson\_Reis](https://forums.unrealengine.com/u/Neylson_Reis)\
**Post date:** [November 28, 2018, 1:16pm UTC](https://forums.unrealengine.com/t/cmd-exe-failed-with-args-c-c-nvpack-apache-ant-1-8-2-bin-ant-bat-quiet-debug/303236/9 "2018-11-28T13:16:17Z")

</div>

Mesmo problema aqui, conseguiu resolver jakedubs?

---

<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:** [June 10, 2019, 8:15pm UTC](https://forums.unrealengine.com/t/cmd-exe-failed-with-args-c-c-nvpack-apache-ant-1-8-2-bin-ant-bat-quiet-debug/303236/10 "2019-06-10T20:15:43Z")

</div>

No not working event after you download Tools. Still getting apache ant exe failed to start.
