This issue is about your storage in the emulator. Default AndroidStudio value of 2Gb is not enough for modern Android versions.

Solution
Step 1: close the emulator.
Step 2: Wipe the emulator.

Step 3: change the internal storage and SD Card to 4098MB.

Step 4: Run the Emulator.