I get the following error message when trying to run the emulator from Android Studio:
Emulator: emulator: ERROR: Not enough disk space to run AVD 'Nexus_6_API_28'. Exiting...
I tried to increase the size of RAM space but it didn't help.
Software: Debian, Android studio virtual device.
device settings screenshot df -h
The issue is not with the amount on your hard drive but the setting requesting how much storage space is required by the emulator.
In Android Studio, follow these steps to reduce the hard drive space requested by the emulator:
Try to run again and see if it works.
If the above doesn't work, try wiping out the user data from the emulator. You can wipe the user data from the actions sections on the AVD Manager screen.
It's not about RAM
, if you are beginner just use the recomended amount of RAM
when creating new AVD
. In order to solve your particular problem, Go to the disc where is stored your AVD
files, mine is in this Path
:
E:\avd.android\avd\Nexus_5X_API_27_1.avd
and free up some space on that hard drive. Do not delete anything from avd folder ! If you do not know on which hard drive is stored your AVD files, go to Tools->AVD Manager
Choose your emulator and in it's drop-down list press the Show on Disc
button. It will take you to that hard drive, then just free up some space. Not sure about minimum space, I have 20Gb
and it works perfectly, you can start from minimum 5Gb. Also in that drop-down list try to Wipe the Data
first and run the app, before trying to do all mentioned above.
Just follow below steps
1 Increases the size of Internal Storage in AVD
2 Free the C drive in your computer at lease 5-10 GB.
The Emulator will run automatically. Hope it helps
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With