# Keystore present and correct, Ant Packaging Warning: "\[proguard\] Warning: can't write resource \[META-INF/MANIFEST.MF\] (Duplicate jar entry \[META-INF/MANIFEST.MF\])"

**URL:** <https://forums.unrealengine.com/t/keystore-present-and-correct-ant-packaging-warning-proguard-warning-cant-write-resource-meta-inf-manifest-mf-duplicate-jar-entry-meta-inf-manifest-mf/439936>\
**Category:** Mobile\
**Tags:** manifest, distribution, Mobile, unreal-engine, Packaging, question\
**Created:** [December 22, 2018, 10:42pm UTC](https://forums.unrealengine.com/t/keystore-present-and-correct-ant-packaging-warning-proguard-warning-cant-write-resource-meta-inf-manifest-mf-duplicate-jar-entry-meta-inf-manifest-mf/439936 "2018-12-22T22:42:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![WillWeaver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WillWeaver](https://forums.unrealengine.com/u/WillWeaver)\
**Post date:** [December 22, 2018, 10:42pm UTC](https://forums.unrealengine.com/t/keystore-present-and-correct-ant-packaging-warning-proguard-warning-cant-write-resource-meta-inf-manifest-mf-duplicate-jar-entry-meta-inf-manifest-mf/439936/1 "2018-12-22T22:42:21Z")

</div>

I’m building an Android app, a fairly simple mobile game. My issues is that when building I run into the following error:

PackagingResults: Warning: can’t write resource [META-INF/MANIFEST.MF] (Duplicate jar entry [META-INF/MANIFEST.MF])

From what I’ve read elsewhere, this is usually to do with a missing .keystore file in ProjectFolder/Build/Android, but I have the keystore file, I’ve quintuple-checked that the values for the distribution signing are accurate to the values in the keystore by running the keystore -list command to check the file after it’s created.

I’ve also updated my Android SDK & tools, as well as Proguard itself.

I do not see this error when building with Gradle, however, I’d still like to understand what’s going on.

---

<div class="post-metadata">

**Author:** ![WillWeaver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WillWeaver](https://forums.unrealengine.com/u/WillWeaver)\
**Post date:** [December 23, 2018, 10:49am UTC](https://forums.unrealengine.com/t/keystore-present-and-correct-ant-packaging-warning-proguard-warning-cant-write-resource-meta-inf-manifest-mf-duplicate-jar-entry-meta-inf-manifest-mf/439936/2 "2018-12-23T10:49:00Z")

</div>

After some further testing, it “appears” that my app is indeed packaged with android permissions listed, as they’re visible on Google play and under my settings on my phone, but they aren’t being set to enabled by default, and only “storage” has the option to turn it on. I’ll attach screenshots to show what I’m seeing this afternoon.

---

<div class="post-metadata">

**Author:** ![WillWeaver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WillWeaver](https://forums.unrealengine.com/u/WillWeaver)\
**Post date:** [December 28, 2018, 1:21pm UTC](https://forums.unrealengine.com/t/keystore-present-and-correct-ant-packaging-warning-proguard-warning-cant-write-resource-meta-inf-manifest-mf-duplicate-jar-entry-meta-inf-manifest-mf/439936/3 "2018-12-28T13:21:23Z")

</div>

After further testing with the nodes for checking permissions and requesting them, as well as referencing the android developer website for more info on permissions and what ones are needed for what, I seem to have them working properly.

Long story short, I still don’t know why Ant is throwing that manifest error, but if you build with Gradel instead and have your android SDK up to date, seems to work.
