Generate a Signed App for Google Play

How to create the signed bundle Google Play needs before you can publish your app.