If you are running Android Emulator on an old computer with Windows 11 there will be some trouble with Hypervisor (crashing aehd.sys and getting a bsod after some minutes). Probably from this issue https://github.com/google/android-emulator-hypervisor-driver/issues/95
To make it work:
*Uninstall Hypervisor completely and reboot (important)
*Install HAXM 7.6.5 (not 7.8.0 because android emulator does not support it, and it only tells you this info if running emulator 33.1.2 or older, on newer versions it just tells you that hardware acceleration does not work)
*Get Android Emulator 36.1.8 or older from https://developer.android.com/studio/emulator_archive
*Create an AVD with an Intel x86_64 image
*Start emulator from command propt with this line (correct the path to match yours, also avd name):
"C:\MyCustomLocation\emulator\emulator" -avd Pixel_5
*Might not be possible to start emulator from Narwhal Android Studio with this setup, but it will still recognise the emulator when running and you can install your app and debug your code