x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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

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.

Product Version: UE 4.21
Tags:
more ▼

asked Dec 22 '18 at 10:42 PM in Packaging & Deployment

avatar image

WillWeaver
1 1 1

avatar image WillWeaver Dec 23 '18 at 10:49 AM

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.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.

more ▼

answered Dec 28 '18 at 01:21 PM

avatar image

WillWeaver
1 1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question