Not saying that Android would've necessarily saved Nokia's crown in the smartphone market, or even saved it as a company, but I do think it would've been a smarter strategic play than going with WP. And the only reason I'm even saying that is because Nokia did a ton of mistakes on its own, before it even had to make that choice - like waiting until it was too late to make the decision, or neglecting the Maemo platform, and so on.
In terms of attracting programmers, Android could be programmed on Mac, Windows or Linux. A developer account was a one-time fee of $25. Apps needed no approval.
Windows Phone had to be programmed on Windows. A developer account cost $100 a year or so. Apps went through an approval process. Not that different than Apple, but Apple was first to market with a modern smartphone and could get away with this.
Even if they could do Maemo, there would've been no apps - Microsoft failed to attract enough devs, given that there were already 10M .NET devs out there.