rooting – Installing Android on Nokia Lumia 520 Using MacOS Computer

I am trying to install Android on my Nokia Lumia 520 so I can use it as a hardware device to debug my apps for Android app development. I use a Macbook Air (MacOS), and tried to search for tutorials to install Android on my Nokia Phone, but I can’t find any tutorials for MacOS. Can anyone give me the steps for installing it on my Nokia mobile phone?