Android icon correct size

This is so confusing, which dimension should I follow?

Technically it’s both. The idea is that android will take an 864x864 pixel square and round it off into a 576x576 circle and/or squircle. So ideally you should use 864x864 (that’s what I’m doing in one of my games and it works fine).