Issue installing Android SDK on mac

Hi
I am getting an error with Java when trying to install the Android SDK on my mac (apple chip)

Any ideas how to resolve this?

Thanks

S

Have you figured this out? It sucks that Unreal doesn’t come with integrated SDK and NDK like Unity. I have been trying to get it to work on my M1 Max. The documentation is outdated. It talks about SDK 8.0 and 8.0 command line tools (this is not present anymore). I too get JAVA_HOME error.