# Invalid syntax error when trying to run SetupAndroid for UE4 4.25

**URL:** <https://forums.unrealengine.com/t/invalid-syntax-error-when-trying-to-run-setupandroid-for-ue4-4-25/143362>\
**Category:** Mobile\
**Tags:** unreal-engine, Android\
**Created:** [May 12, 2020, 5:48am UTC](https://forums.unrealengine.com/t/invalid-syntax-error-when-trying-to-run-setupandroid-for-ue4-4-25/143362 "2020-05-12T05:48:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raglem](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/raglem/32/465658_2.png) [@Raglem](https://forums.unrealengine.com/u/Raglem)\
**Post date:** [May 12, 2020, 5:48am UTC](https://forums.unrealengine.com/t/invalid-syntax-error-when-trying-to-run-setupandroid-for-ue4-4-25/143362/1 "2020-05-12T05:48:38Z")

</div>

Hello everyone,

I’ve been trying to set up UE4 for android development, but whenever I try to run SetupAndroid I keep getting this error. Any chance anyone knows how to fix this issue?

The error is:

ERROR: Invalid syntax. Default option is not allowed more than ‘2’ time(s). Type “SEXT /?” for usage.

 ![Error.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/4/1/41b0da83f8a0967f095919ef1ddeb15cdca534f0.png)

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![rharbin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rharbin](https://forums.unrealengine.com/u/rharbin)\
**Post date:** [August 7, 2020, 4:52pm UTC](https://forums.unrealengine.com/t/invalid-syntax-error-when-trying-to-run-setupandroid-for-ue4-4-25/143362/2 "2020-08-07T16:52:07Z")

</div>

Hi, I’m having the same issue. Did you ever get this figured out?

---

<div class="post-metadata">

**Author:** ![Raglem](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/raglem/32/465658_2.png) [@Raglem](https://forums.unrealengine.com/u/Raglem)\
**Post date:** [August 12, 2020, 12:51am UTC](https://forums.unrealengine.com/t/invalid-syntax-error-when-trying-to-run-setupandroid-for-ue4-4-25/143362/3 "2020-08-12T00:51:54Z")

</div>

Unfortunately I have not. I have looked for a solution but haven’t been able to find one. As things stand, I cant use 4.25 for mobile development. Let me know if you find one, cause I’m out of ideas.

---

<div class="post-metadata">

**Author:** ![XD\_09BLASTERBOII](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@XD\_09BLASTERBOII](https://forums.unrealengine.com/u/XD_09BLASTERBOII)\
**Post date:** [August 14, 2020, 4:24pm UTC](https://forums.unrealengine.com/t/invalid-syntax-error-when-trying-to-run-setupandroid-for-ue4-4-25/143362/4 "2020-08-14T16:24:07Z")

</div>

I’m having the same problem.

---

<div class="post-metadata">

**Author:** ![BeefyBunn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BeefyBunn](https://forums.unrealengine.com/u/BeefyBunn)\
**Post date:** [September 2, 2020, 1:27pm UTC](https://forums.unrealengine.com/t/invalid-syntax-error-when-trying-to-run-setupandroid-for-ue4-4-25/143362/5 "2020-09-02T13:27:20Z")

</div>

same here D: !!

---

<div class="post-metadata">

**Author:** ![VR\_Center](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@VR\_Center](https://forums.unrealengine.com/u/VR_Center)\
**Post date:** [October 8, 2020, 5:13pm UTC](https://forums.unrealengine.com/t/invalid-syntax-error-when-trying-to-run-setupandroid-for-ue4-4-25/143362/6 "2020-10-08T17:13:13Z")

</div>

We are getting the same thing here on several computers. After following the instructions on the Unreal website for setting up 4.25 to build to android, I get these errors. One of the machines is a new windows install with all the updates. Any help here would be appreciated.
