"Platform Android is not a valid platform to build. Check that the SDK is installed properly."

Thank you. I spent hours trying to fix this issue. This solved it.