It seems as though you are missing the android SDK which is required to build for android.
The simplest solution is to just install android studio and that will solve the issue by installing the SDK.
https://developer.android.com/studio/index.html
For more information see: https://ionicframework.com/docs/intro/deploying/