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"

Unable to package game for shipping (distribution)

Hello

I'm trying to pack a game for android to publish it to Play Store, and when I select the ¨for distribution¨ option in the project settings, I get the following error

 ERROR: cmd.exe failed with args /c "C:/NVPACK/apache-ant-1.8.2/bin/ant.bat" release -Djava.source=1.7 -Djava.target=1.7

I've already tried:

  • Generating the keystore in \Build\Android and setting it up in project settings

  • Updating proguard to the latest version

  • Making sure the environment variables are correct and the paths are correct inside android packaging settings

  • Installing all the build tools using \NVPACK\android-sdk-windows\tools\android.bat

  • Deleting the Intermediate, Saved, Build folders and generating the key again

Any help would be greatly appreciated!

alt text alt text alt text alt text alt text

Product Version: UE 4.18
Tags:
more ▼

asked Aug 03 '18 at 06:34 PM in Packaging & Deployment

avatar image

Cicamiloa
11 2

avatar image jonathanVA Aug 03 '18 at 07:54 PM

. it is a difficult problem because it does not allow uploading applications to the playstore

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Okay, It seems I figured it out. Here's what I did

  • Uninstall and reinstall codeworks (I had 1R5, updated to R7)

  • Run android.bat in NVPACK\tools\ and update the packages that had updates available, install the latest version of build tools

  • Delete the Intermediate, Saved folders and everything inside Build, except the keystore file (you could delete the entire folder and generate the key again)

  • Go to project settings and set up the Android, Packaging and Android SDK options

more ▼

answered Aug 07 '18 at 04:01 AM

avatar image

Cicamiloa
11 2

(comments are locked)
10|2000 characters needed characters left
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