Cause of the issue: Licenses not accepted
To solve the issue:
- Opt-in: Android Studio > Sdk Manager > SDK Tools > Android SDK Command-Line Tools (latest)
- Run:
~/Library/Android/sdk/cmdline-tools/latest/bin/sdkmanager --licenses
- Confirm all prompts with
y
to accept