It would seem due to the fact you are using a beta version of android studio the message "The emulator process for AVD Pixel_2_API_30 was killed." has been changed to "The emulator process for AVD Pixel_2_API_30 has terminated." but fundamentally they should still have the same solutions the most common solution being:
"All of the answers are too confusing to follow. Replace SDK or
upgrade OS. The quickest way I found is to:
Tools > SDK Manager > SDK Tools
De-select Android Emulator, then click Apply. - The Android Emulator
will be deleted.
Now, by default the Emulator version shown will be 30.6.5. Select the
checkbox and click apply. This version of emulator will be installed.
That is it, just 2 minutes of you time.
Update: 1 Jul 2021 Issue solved with latest Emulator version 30.7.5"
Credits to: Karan Sharma in the post found here
If this does not fix the error then there are a multitude of different solutions that can be found by googling "Android studio MacBook emulator process for AVD was killed." or simply downgrading/upgrading your emulator works too, because it is a common issue with the v30.6.x emulator versions.
~/.android/avd
was full, so had to move+symlink it to a another partition with more space available. – HarvardANDROID_HOME
is occupied by scoop, a package manager in Windows, which will set the path automatically when install android-sdk, free the path by uninstall android-sdk package. – Thaumatology