Android Build Fails: Shipping For Distribution

Hello, I am able to package successfully for Android if I pick Shipping or Development (or testing over USB to my device)), however if I attempt to create a “For distribution” build (found in the packaging settings) the build will fail. I need to create a “for distribution” because without it, UE seems to sign with a debug key, making it impossible to upload to the Play store.

I wanted to use pastebin, but the output log is so huge I just attached a file. I am using 4.6.1

Build output

You need to set up your SigningConfig.xml file. Check out the one in the Engine/Build/Android/Java directory.

Note that 4.7 will remove this file, and all of the signing setup will be in Project Settings.

Josh

OK I have figured out that since the project was already created, I had to edit the SigningConfig.xml file in my project’s directory. It builds successfully now, thank you!