# The map specified on the command line could not be found

**URL:** <https://forums.unrealengine.com/t/the-map-specified-on-the-command-line-could-not-be-found/455151>\
**Category:** Mobile\
**Tags:** unreal-engine, Android, bug-report, packaging-projects, UE4, question\
**Created:** [September 10, 2019, 10:30pm UTC](https://forums.unrealengine.com/t/the-map-specified-on-the-command-line-could-not-be-found/455151 "2019-09-10T22:30:25Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![SpamBotWinner](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SpamBotWinner](https://forums.unrealengine.com/u/SpamBotWinner)\
**Post date:** [September 10, 2019, 10:30pm UTC](https://forums.unrealengine.com/t/the-map-specified-on-the-command-line-could-not-be-found/455151/1 "2019-09-10T22:30:25Z")

</div>

When i open the packed project on my mobile the message pops up. i’ve been searching for a while, but still can’t find the solution to this problem.

 ![286927-massage.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/0/8/50822024137fd8d67cd86a3f1630f60e3f3181d5.jpeg)

---

<div class="post-metadata">

**Author:** ![SpamBotWinner](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SpamBotWinner](https://forums.unrealengine.com/u/SpamBotWinner)\
**Post date:** [September 18, 2019, 1:23pm UTC](https://forums.unrealengine.com/t/the-map-specified-on-the-command-line-could-not-be-found/455151/2 "2019-09-18T13:23:46Z")

</div>

So i worked on the level called DemoMap, but later i created a new level and deleted the old one and changed project settings there i replaced old level(DemoMap) at GameDefaultMap on the new one. In the editor it works fine, but when i package it to android and run it, this massaged pops up and i don’t know what to do.

 ![286927-massage.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/0/8/50822024137fd8d67cd86a3f1630f60e3f3181d5.jpeg)

---

<div class="post-metadata">

**Author:** ![MadaraAlmighty](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/madaraalmighty/32/1122034_2.png) [@MadaraAlmighty](https://forums.unrealengine.com/u/MadaraAlmighty)\
**Post date:** [August 31, 2021, 4:31pm UTC](https://forums.unrealengine.com/t/the-map-specified-on-the-command-line-could-not-be-found/455151/3 "2021-08-31T16:31:01Z")

</div>

Did you find the solution?

---

<div class="post-metadata">

**Author:** ![Jaco001](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jaco001](https://forums.unrealengine.com/u/Jaco001)\
**Post date:** [August 31, 2021, 4:51pm UTC](https://forums.unrealengine.com/t/the-map-specified-on-the-command-line-could-not-be-found/455151/4 "2021-08-31T16:51:01Z")

</div>

At ‘Packaging’ → ‘List of maps to include in a packaged build’ - add all maps.

---

<div class="post-metadata">

**Author:** ![MadaraAlmighty](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/madaraalmighty/32/1122034_2.png) [@MadaraAlmighty](https://forums.unrealengine.com/u/MadaraAlmighty)\
**Post date:** [September 1, 2021, 10:53am UTC](https://forums.unrealengine.com/t/the-map-specified-on-the-command-line-could-not-be-found/455151/5 "2021-09-01T10:53:28Z")

</div>

,I did that still giving me that Error. There is no such map. I also tried to create that path and rename map but still error remains

---

<div class="post-metadata">

**Author:** ![Jaco001](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jaco001](https://forums.unrealengine.com/u/Jaco001)\
**Post date:** [September 1, 2021, 11:20am UTC](https://forums.unrealengine.com/t/the-map-specified-on-the-command-line-could-not-be-found/455151/6 "2021-09-01T11:20:28Z")

</div>

I will double check name. If there is broken index - try duplicate map to ‘new’ with new name and change settings to this new name. Using ‘open’ at command line should work same with only map name and map name with path.

---

<div class="post-metadata">

**Author:** ![vlab22](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vlab22/32/751227_2.png) [@vlab22](https://forums.unrealengine.com/u/vlab22)\
**Post date:** [September 4, 2021, 9:15am UTC](https://forums.unrealengine.com/t/the-map-specified-on-the-command-line-could-not-be-found/455151/7 "2021-09-04T09:15:04Z")

</div>

Same problem here.

It works with _Play on Target → To my Device_

Not works if I **build the APK**

Map corrected set in _Project → Maps and Modes_.

```
The solution, rename the map name <=======

```

Specs:

- Unreal 4.27.0
- Windows 10
- Build for Android

Only non-default options is **pack game data inside apk** checked.

---

<div class="post-metadata">

**Author:** ![Zombie.SoC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zombie.SoC](https://forums.unrealengine.com/u/Zombie.SoC)\
**Post date:** [November 12, 2021, 4:06pm UTC](https://forums.unrealengine.com/t/the-map-specified-on-the-command-line-could-not-be-found/455151/8 "2021-11-12T16:06:47Z")

</div>

- renaming - or just dublicating and renaming: in project-settings set the new renamed map -
- it seems some redirectional problem happened at my project as i changed to 4.27
