android studio emulator: WARNING: Increasing RAM size to 1024MB <p>I am trying to build my first android application in Android Studio, following the tutorial <a href="https://developer.android.com/training/basics/firstapp/creating-project.html" rel="nofollow">https://developer.android.com/training/basics/firstapp/creating-project.html</a>, using AndroidStudio 2.1.2. </p> <p>Whenever I run the emulator, I get this error message:</p> <blockquote> <p>Android Emulator could not allocate 1.0 GB of memory for the current AVD configuration. Consider adjusting the RAM size of your AVD in the AVD Manager. Error detail: QEMU 'pc.ram': Cannot allocate memory</p> </blockquote> <p>Decreasing the size of the memory on the Nexus5x emulator has no effect, so the error message still says "could not allocate 1.0 GB", even when I adjust the memory of the AVD to 256MB. The app needs to run on Android 6.0, with a Nexus5x emulator, so I can't try with a different emulator. Any help would be much appreciated :)</p>