This works in Dec 2018 on MacOS High-Sierra. If you find changes that work in a later time or on later releases, suggest an edit.
Java, Cordova, Android, Android Studio, MacOS--five moving targets that don't stay in sync with each other. Commands and paths change (e.g. android
is out, sdkmanager
is in, but it doesn't open a UI as some helps suggest.) Mac Java versions can get wonky, and the Android SDK is picky about versions too.
Follow the first Cordova app guide.