# Apache ant failed with args / can't write manifest

**URL:** <https://forums.unrealengine.com/t/apache-ant-failed-with-args-cant-write-manifest/431915>\
**Category:** Platform & Builds\
**Tags:** manifest, unreal-engine, failed, question\
**Created:** [August 18, 2018, 5:31pm UTC](https://forums.unrealengine.com/t/apache-ant-failed-with-args-cant-write-manifest/431915 "2018-08-18T17:31:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![LussLuss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LussLuss](https://forums.unrealengine.com/u/LussLuss)\
**Post date:** [August 18, 2018, 5:31pm UTC](https://forums.unrealengine.com/t/apache-ant-failed-with-args-cant-write-manifest/431915/1 "2018-08-18T17:31:08Z")

</div>

hi evreryone. i’m tired… i’v try to package my game for months… i still have theses two errors… the ant failed with arg and the manifest can’t be wrote… please anyone could help me ? i didn’t find the solution to this issue on internet. thanks for your help.

Some info:

 ![250865-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/3/0/730801afd17d450b6c5b0561f07f564efdbd6280.png)

 ![250866-2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/2/b/42be80efebf680f3b610fb60ea26d07bf136767d.png)

 ![250867-3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/f/7/5f7306cc4a44c72ef74d256073407ca549c6e72d.png)

 ![250868-4.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/1/8/018fbdaf7101a9f3563482a25b5d209eb7662c9b.png)

---

<div class="post-metadata">

**Author:** ![alex-unrealUGSK](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@alex-unrealUGSK](https://forums.unrealengine.com/u/alex-unrealUGSK)\
**Post date:** [August 18, 2018, 5:51pm UTC](https://forums.unrealengine.com/t/apache-ant-failed-with-args-cant-write-manifest/431915/2 "2018-08-18T17:51:34Z")

</div>

You should pack with gradle instead of ant. Try it.

---

<div class="post-metadata">

**Author:** ![LussLuss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LussLuss](https://forums.unrealengine.com/u/LussLuss)\
**Post date:** [August 18, 2018, 6:34pm UTC](https://forums.unrealengine.com/t/apache-ant-failed-with-args-cant-write-manifest/431915/3 "2018-08-18T18:34:01Z")

</div>

i tried, but it didn’t work. “Keystore is missing”, but i alredy set the Kestore… and on UE4.17 Admob don’t work with Gradle, and there is ads in my game :(.

---

<div class="post-metadata">

**Author:** ![alex-unrealUGSK](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@alex-unrealUGSK](https://forums.unrealengine.com/u/alex-unrealUGSK)\
**Post date:** [August 19, 2018, 9:15am UTC](https://forums.unrealengine.com/t/apache-ant-failed-with-args-cant-write-manifest/431915/4 "2018-08-19T09:15:55Z")

</div>

Be sure to read through all documentation about android development. Can you update your project to more recent version?

---

<div class="post-metadata">

**Author:** ![LussLuss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LussLuss](https://forums.unrealengine.com/u/LussLuss)\
**Post date:** [August 19, 2018, 2:44pm UTC](https://forums.unrealengine.com/t/apache-ant-failed-with-args-cant-write-manifest/431915/5 "2018-08-19T14:44:36Z")

</div>

yes i did it. but same issue 😕 apache ant need a specific version of java to work fine ?

---

<div class="post-metadata">

**Author:** ![LussLuss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LussLuss](https://forums.unrealengine.com/u/LussLuss)\
**Post date:** [August 21, 2018, 2:54pm UTC](https://forums.unrealengine.com/t/apache-ant-failed-with-args-cant-write-manifest/431915/6 "2018-08-21T14:54:22Z")

</div>

Anyone ? Like the other same topic, nobody can answer…

---

<div class="post-metadata">

**Author:** ![alex-unrealUGSK](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@alex-unrealUGSK](https://forums.unrealengine.com/u/alex-unrealUGSK)\
**Post date:** [August 21, 2018, 4:01pm UTC](https://forums.unrealengine.com/t/apache-ant-failed-with-args-cant-write-manifest/431915/7 "2018-08-21T16:01:21Z")

</div>

Did you really check the box using gradle instead of ant? Do you have the same error?? You on 4.20 now? Provide more recents info.  
Also be sure you have latest android code works installed.
