I just created my first android project in Android studio .It is the default hello word app.When i ran it in the virtualised emulator i got the following error.Please help me sort it out.
emulator: WARNING: Requested RAM size of 1536MB is too large for your environment, and is reduced to 1152MB. HAX is not working and emulator runs in emulation mode Cannot set up guest memory 'pc.ram': Invalid argument emulator: device fd:576 emulator: The memory needed by this VM exceeds the driver limit. Error accepting connection, aborting
Thanks in advance.Answer1:
Your HAXM is not working try reinstalling it and set the initial value(768MB recommended) of memory to less than the RAM of your computer. You need to reduce the RAM size of the emulator you are trying to run. And make sure the emulator is not exceeding the value you set while installing the HAXM. If HAXM is set to 768MB, reduce it to further and set RAM to 512MB set for it to work properly.
AVD Manager</li> <li>Click on
Edit this AVD</li> <li>Show
Memory and Storage</li> <li>Set
Eclipse:<ol><li>Choose your emulator device and </li> <li>Click
Editto edit the configurations.</li> <li>
AVD Manager</li> <li>Under
Memory Optionsyou will find
RAMoptions. Now set it up to a minimal value such as
Now try running your emulator now. Hopefully it should be able to start now.