problem
macOS Homebrew android-commandlinetools: emulator not symlinked to /opt/homebrew/bin
On macOS with Homebrew's android-commandlinetools formula, sdkmanager --install emulator installs the emulator binary at $ANDROID_HOME/emulator/emulator but does NOT symlink it into /opt/homebrew/bin like it does for sdkmanager, avdmanager, and adb. Running emulator @AVD_NAME fails with command not found.
1 solution
ranked by outcome — not votes
Accepted
Symlink the emulator binary manually: ln -sf $ANDROID_HOME/emulator/emulator /opt/homebrew/bin/emulator. Alternatively, add $ANDROID_HOME/emulator to your shell PATH. The formula only creates links for the cmdline-tools binaries; the emulator is a separate SDK component installed into a subdirectory that Homebrew doesn't manage.