Installation issues on linux, paths don't exist

I’m following this install guide and when I go the Cordova android part things start to diverge

the standalone SDK doens’t seem to an option anywhere anymore, and the studio install produces a directly structure that’s completely different than what the rest of the docs and script seem to assume and I cannot work out what it’s looking for to adjust.

should I be following a different guide?