`ionic package build` overwrites config.xml and icons

I followed these instructions to add my custom icons for my app. However, when I run ionic package build android from the command line, it overwrites all of the icon paths in my config.xml file back to their default values (resources/android/icon/...). I can’t seem to get rid of the generic default icon.

I also tried overwriting the icons that came with the starter app in resources/android/icon but those also get overwritten.

What am I doing wrong? The process does NOT overwrite any other information in my config.xml such as the app name or description. Just the icons.

It turns out I was following the wrong tutorial. The correct one can be found here. Props to Lucas Z. who answered this question for me on SO.