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"

"Invalid APK File" error message when installing Android package

Hey so this is not really a question but an answer :-)

I just wanted to post it for others since I got terribly frustrated repeatedly getting the error "Invalid APK File" when trying to launch a freshly packaged Android game. I spent an entire hour googling the internet but to no avail. Until I realized that the batch file assumes that the current directory is the same as the directory from which it is launched, however I launched it (via command line) with the current directory being different. Once I CD to the same folder as the batch file and then run it, it runs fine!

This is btw bad batch file programming practice. A Windows batch file should never assume that the CD happens to be same as its location!! If you want to reference the folder that the batch file itself is located in, use the variable %~dp0. An easy fix would be to simply do a pushd "%~dp0" at the beginning of the batch file, and a popd at the end.

Ok so for now: Make sure you CD to the batch file folder before running it from the command line!

Product Version: UE 4.15
Tags:
more ▼

asked Feb 19 '17 at 12:03 AM in Packaging & Deployment

avatar image

GreatGuru
115 10 12 19

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

2 answers: sort voted first

GreatGuru,

Thanks for providing information for the community. You may want to also post this on the forums for more eyes to see. :)

more ▼

answered Feb 22 '17 at 09:11 PM

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

Hello I am having this same issue.Can you define it be step by step how to perform this to get the game installed?

more ▼

answered Dec 13 '18 at 11:38 AM

avatar image

Honey1988
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