Search code examples
androidandroid-emulatorandroid-5.0-lollipop

Android 5.0 emulator showing Storage space running out


I just updated Android SDK to version 21 and trying to start emulator. I am using Nexus 4 with CPU Intel atom (x86) 768 RAM and 524 internal storage. Emulator starts fine but it shows en error message, "Storage space running out" and it is very slow. I tried increasing the RAM also but didn't work. What could be the issue?


Solution

  • emulator -avd "Name" -partition-size 500
    

    This solved the issue for me.

    Update on how to execute above command:

    1. Go to a terminal
    2. cd [android SDK directory]/tools/
    3. linux terminal: ./emulator -avd nameOfAvd -partition-size 500 &
      windows : emulator -avd nameOfAvd -partition-size 500