Not only that, but developing for Windows Phone 8 required using Windows 8 (which was a flop)
That being said I don't know that there was a path to success. I don't think it was as much about the little apps as the big ones: Instagram, YouTube, Pokemon Go... Google in particular got to play the role of anti-competitive