Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emulator: emulator: ERROR: Not enough space to create userdata partition

I have just changed my laptop. On the new laptop, android studio emulator give error when trying to run app: "Emulator: emulator: ERROR: Not enough space to create userdata partition. Available: 6253.683594 MB at C:\Users\RAFIQ.android\avd\Nexus_5X_API_27_2.avd, need 7372.800000 MB" I have 7 GB space still available in C drive. I have enabled virtualization but still get this error. Thanks in advance!

like image 415
Mazhar Avatar asked Dec 26 '18 12:12

Mazhar


People also ask

How do I free up space on my emulator?

Click Tools -> AVD Manager. Click the edit icon for the emulator. Click the Show Advanced Settings. Under Memory and Storage, reduce the Internal Storage, specify something like 2048MB for an emulator that comes with Google Play store or less for emulators without the Google Play Store.

How do I increase the size of my emulator disk?

On Android StudioClick Edit Icon to edit the AVD. Click Show Advanced settings. Change the Internal Storage, Ram, SD Card size as necessary. Click Finish.


1 Answers

I have found a solution may be helpful to someone :

Just navigate to your avd image path in C:\Users\ashishs\.android\avd\

and delete some of the unused images.

I did the same and the above issue vanished

Good Luck :)

like image 178
Ashish Shukla Avatar answered Sep 19 '22 02:09

Ashish Shukla