# Cant launch/package new project(4.22) on Android: "No target name was specified on the command-line"

**URL:** <https://forums.unrealengine.com/t/cant-launch-package-new-project-4-22-on-android-no-target-name-was-specified-on-the-command-line/125728>\
**Category:** Mobile\
**Tags:** unreal-engine, Android\
**Created:** [May 3, 2019, 10:04pm UTC](https://forums.unrealengine.com/t/cant-launch-package-new-project-4-22-on-android-no-target-name-was-specified-on-the-command-line/125728 "2019-05-03T22:04:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![qvaLarsson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@qvaLarsson](https://forums.unrealengine.com/u/qvaLarsson)\
**Post date:** [May 3, 2019, 10:04pm UTC](https://forums.unrealengine.com/t/cant-launch-package-new-project-4-22-on-android-no-target-name-was-specified-on-the-command-line/125728/1 "2019-05-03T22:04:45Z")

</div>

Hi,

I haven’t previously done Android development in UE4, so I’m trying to set it up for the first time. I followed these guides:

- [Installing Android CodeWorks](https://docs.unrealengine.com/en-US/Platforms/Mobile/Android/InstallingAndroidCodeWorksAndroid)
- [Setting up the Android Device](https://docs.unrealengine.com/en-US/Platforms/Mobile/Android/SettingAndroidDeviceDevelopment)
- [The UE4 Android Quick Start Guide](https://docs.unrealengine.com/en-us/Platforms/Android/GettingStarted)

Aside from that, since it didn’t work, I also put in the proper paths for the SDK, JDK, NDK, etc, [here’s what it looks like](https://imgur.com/Veatzyo). Also, here is what my [platform settings](https://imgur.com/BfPvhq3)for Android look like.

Anyhow, I’ve fiddled around, and searched for answers, but I haven’t found anything. I’ve also tried packaging to Windows64 and 32 with the Android configured project, same error (works with a new project which isn’t configured for Android though). To test that it wasn’t anything with my device, I tried building an APK from Unity on to my device, which worked without any issues. Here is the [log text](https://pastebin.com/rtzcDwNy) from the launch attempt.

I would really appreciate any help on the matter, thanks in advance!

---

<div class="post-metadata">

**Author:** ![qvaLarsson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@qvaLarsson](https://forums.unrealengine.com/u/qvaLarsson)\
**Post date:** [May 4, 2019, 8:22pm UTC](https://forums.unrealengine.com/t/cant-launch-package-new-project-4-22-on-android-no-target-name-was-specified-on-the-command-line/125728/2 "2019-05-04T20:22:56Z")

</div>

Bump… There’s got to be someone who can help me? It can’t be impossible to build a game to my android phone lol without any help to get from any documentation or community.

---

<div class="post-metadata">

**Author:** ![qvaLarsson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@qvaLarsson](https://forums.unrealengine.com/u/qvaLarsson)\
**Post date:** [May 6, 2019, 6:23am UTC](https://forums.unrealengine.com/t/cant-launch-package-new-project-4-22-on-android-no-target-name-was-specified-on-the-command-line/125728/3 "2019-05-06T06:23:29Z")

</div>

For anyone curious, I “solved” the issue by downgrading to 4.21.2, and did the exact same thing, just worked …

---

<div class="post-metadata">

**Author:** ![AlexM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AlexM](https://forums.unrealengine.com/u/AlexM)\
**Post date:** [May 10, 2019, 5:43am UTC](https://forums.unrealengine.com/t/cant-launch-package-new-project-4-22-on-android-no-target-name-was-specified-on-the-command-line/125728/4 "2019-05-10T05:43:06Z")

</div>

This one is hitting me too. Anyone found anything?

---

<div class="post-metadata">

**Author:** ![D3ZAX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@D3ZAX](https://forums.unrealengine.com/u/D3ZAX)\
**Post date:** [June 20, 2019, 11:18am UTC](https://forums.unrealengine.com/t/cant-launch-package-new-project-4-22-on-android-no-target-name-was-specified-on-the-command-line/125728/5 "2019-06-20T11:18:13Z")

</div>

Did your project is named “test”? If so, try to change the project name. I solved it this way.

This is the document how to migrate the project:

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

---

<div class="post-metadata">

**Author:** ![Mellos](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mellos](https://forums.unrealengine.com/u/Mellos)\
**Post date:** [September 25, 2021, 2:41pm UTC](https://forums.unrealengine.com/t/cant-launch-package-new-project-4-22-on-android-no-target-name-was-specified-on-the-command-line/125728/6 "2021-09-25T14:41:14Z")

</div>

■■■■ test!
