# RunUAT.bat ERROR: AutomationTool was unable to run successfully

**URL:** <https://forums.unrealengine.com/t/runuat-bat-error-automationtool-was-unable-to-run-successfully/321544>\
**Category:** Mobile\
**Tags:** Android-Packaging, runuatbat, unreal-engine, package-error, question\
**Created:** [June 12, 2015, 1:25pm UTC](https://forums.unrealengine.com/t/runuat-bat-error-automationtool-was-unable-to-run-successfully/321544 "2015-06-12T13:25:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Smomo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Smomo](https://forums.unrealengine.com/u/Smomo)\
**Post date:** [June 12, 2015, 1:25pm UTC](https://forums.unrealengine.com/t/runuat-bat-error-automationtool-was-unable-to-run-successfully/321544/1 "2015-06-12T13:25:38Z")

</div>

When I tried to package my project for Android and IOS, I always failed

I tried package on my Mac and Windows7

Always Get That Error

I have searched for a lot of answers but not work at all.

Please help this is my log on win7 packaging

1.Verision : 4.8.0  
2.With TADP android sdk installed

3.use Visual Studio 2013

---

<div class="post-metadata">

**Author:** ![Smomo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Smomo](https://forums.unrealengine.com/u/Smomo)\
**Post date:** [June 12, 2015, 1:35pm UTC](https://forums.unrealengine.com/t/runuat-bat-error-automationtool-was-unable-to-run-successfully/321544/2 "2015-06-12T13:35:40Z")

</div>

by the way, I could package successfully on Blank project

---

<div class="post-metadata">

**Author:** ![Smomo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Smomo](https://forums.unrealengine.com/u/Smomo)\
**Post date:** [June 13, 2015, 4:28am UTC](https://forums.unrealengine.com/t/runuat-bat-error-automationtool-was-unable-to-run-successfully/321544/3 "2015-06-13T04:28:27Z")

</div>

I have found the solution on Mac. (But I think it’s same on Window)

While packaging the Android, unreal will create a folder in [ProjectLocation]/Build/Android/src/com and name the folder as “YourCompany” (According to the option “Android package name” in “Project Setting \> Android”).

ex:  
if your “Android package name” is “com.MyCompany.[PROJECT]”  
It will create folder like “[ProjectLocation]/Build/Android/src/com/MyCompany”

Then if you change the “Android package name” and package again, it will create another folder at same path:  
“[ProjectLocation]/Build/Android/src/com/OtherCompany”

Make sure there are just one company folder under “com” folder and your “Android package name” option should match with that name

---

<div class="post-metadata">

**Author:** ![Pesk92](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pesk92](https://forums.unrealengine.com/u/Pesk92)\
**Post date:** [July 31, 2015, 3:09pm UTC](https://forums.unrealengine.com/t/runuat-bat-error-automationtool-was-unable-to-run-successfully/321544/4 "2015-07-31T15:09:48Z")

</div>

I have the same problem now after changing the android package name, I tried changing it back and deleting the other folder, but that didn’t help. Was there anything else you had to do to get it working?  
Thanks

---

<div class="post-metadata">

**Author:** ![Smomo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Smomo](https://forums.unrealengine.com/u/Smomo)\
**Post date:** [September 29, 2015, 1:30pm UTC](https://forums.unrealengine.com/t/runuat-bat-error-automationtool-was-unable-to-run-successfully/321544/5 "2015-09-29T13:30:46Z")

</div>

I just do what I said. A lot of things could cause this annoying error, you could try other solutions in other threads.  
Check your Project Setting, may be something wrong.  
The one solution I know is changing ServerDefaultMap to anything else but none in Map/Mode setting.  
Sorry for nothing helpful ☹
