Ok none of that worked. So I did the only thing I could think of - I grabbed the android sdk folder from a time machine backup that the error was complaining about being missing, now it builds.
I’ve probably got some sort of Frankenstein’s monster dev setup now, but I don’t care if the apps build and they work.
What a mess Ionic dev has become, it’s so sad.