Retry download and install NDK when testing Android (#97067)
As this step uses network to download and install NDK, it could fail flakily, i.e. https://github.com/pytorch/pytorch/actions/runs/4452757793/jobs/7820701670. So I'm adding retrying to the workflow.
I could try figure out a way to Dockerize this, but not sure yet how to handle the GitHub action `reactivecircus/android-emulator-runner@v2` in Docker. So let's opt for the easy fix of retrying.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/97067
Approved by: https://github.com/malfet