Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 697
MobileAppDeveloper Avatar asked Oct 27 '14 17:10

MobileAppDeveloper


People also ask

How do I get more storage on my Android emulator?

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.

How do I clean my Android emulator?

The easiest way is just to launch the emulator, go to settings -> applications . Then pick the unwanted applications and uninstall them. Alternatively you can do adb -e shell while the emulator is running, find the . apk files in the file system (I think they're under /system/apps) and remove them manually.

Where is the storage of Android emulator?

In Android N emulator you can easily get access Internal Memory. Then a pop up will open. Click on explore . Then you will get access of Internal Storage.

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.


2 Answers

Open AVD Manager --> Wipe Data

enter image description here

like image 139
Arpit Patel Avatar answered Oct 09 '22 15:10

Arpit Patel


You have to go in your android folder e.g. on OSX ~/.android/avd/{YOUR_AVD_NAME} and edit file config.ini.

Just add or modify row disk.dataPartition.size = YOUR_SIZE

e.g. disk.dataPartition.size = 1G

Then you may have to wipe your emulator's disk.

like image 38
Martino Lessio Avatar answered Oct 09 '22 16:10

Martino Lessio