To solve Android build issue I need to replace all intermediate alpha pixel with solid pixel (leaving transparent background as is).
How to that with ImageMagick or o
To remove alpha channel from all pictures in the folder (f.ex. all .png files) I use following command (in terminal on macOS):
for file in *.png; do convert $file -alpha deactivate; done
Unfortunately, none of any other solution given in this thread worked for me.