I had a same issue in my new laptop. I have fixed it by changing one parameter in the emulator’s config file.
- Go to
C:\Users\USER_NAME\.android\avd\Pixel_5_API_31.avd}}
- Edit the
config.ini
file. - Find the
hw.gpu.mode = auto
and change it to thehw.gpu.mode = guest
and save the changes. - Restart the emulator.