Follow this guide: How to automatically sign android applications with the Ionic CLI
Or this guide: https://ionicframework.com/docs/intro/deploying/