"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
Ok so for now: Make sure you CD to the batch file folder before running it from the command line!
asked Feb 19 '17 at 12:03 AM in Packaging & Deployment
Thanks for providing information for the community. You may want to also post this on the forums for more eyes to see. :)
answered Feb 22 '17 at 09:11 PM
Hello I am having this same issue.Can you define it be step by step how to perform this to get the game installed?
answered Dec 13 '18 at 11:38 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here