# UE 5.2: cmd.exe failed with args rungradle.bat :app:assembledebug

**URL:** <https://forums.unrealengine.com/t/ue-5-2-cmd-exe-failed-with-args-rungradle-bat-assembledebug/1249734>\
**Category:** Mobile\
**Tags:** unreal-engine\
**Created:** [August 3, 2023, 5:35pm UTC](https://forums.unrealengine.com/t/ue-5-2-cmd-exe-failed-with-args-rungradle-bat-assembledebug/1249734 "2023-08-03T17:35:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Indistinct\_Usern](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Indistinct\_Usern](https://forums.unrealengine.com/u/Indistinct_Usern)\
**Post date:** [August 3, 2023, 5:35pm UTC](https://forums.unrealengine.com/t/ue-5-2-cmd-exe-failed-with-args-rungradle-bat-assembledebug/1249734/1 "2023-08-03T17:35:48Z")

</div>

I am having a consistent error when trying to package my project and I cannot find a tutorial which gives a solution for this problem with UE 5.2 (I found some for UE4, but they do not work for me). I managed to package a VR template project, but cannot do so with my personal one, so I do not know what the problem is.  
I have installed Android Studio 4.0, Nvidia Codeworks 1R7, Visual Studio 2022, and JDK 8U301. I am currently using Android SDK API 32.  
The error says: cmd.exe failed with args /c “P:…\ProjectName\Intermediate\Android\arm64\gradle\rungradle.bat” :app:assembleDebug

Any help will be appreciated and let me know if you need additional info!

---

<div class="post-metadata">

**Author:** ![victorng2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@victorng2](https://forums.unrealengine.com/u/victorng2)\
**Post date:** [November 1, 2023, 4:40pm UTC](https://forums.unrealengine.com/t/ue-5-2-cmd-exe-failed-with-args-rungradle-bat-assembledebug/1249734/2 "2023-11-01T16:40:14Z")

</div>

Can you provide additional informations from the error logs ? Does it say “The batch file cannot be found” before the error messages ?
