The message shows you what the problem is:
Can not launch AVD in emulator. Output: Hax is enabled Warning:
requested ram_size 1024M too big, reduced to 512M Hax ram_size
0x20000000 HAX is working and emulator runs in fast virt mode.
Access to your Virtual Devices (Virtual Devices) from the indicated icon, select the option "Edit this AVD"
:
Go to advanced options, "Show Advanced Settings"
and in section "Memory and Storage"
(Memory and storage) add the size of the Heap of the virtual machine and to end the "finish"
button:
This allows you to increase the available RAM for the Maquina virtual de Java
(JVM) so that it can host applications that run on the device.