问题
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?
回答1:
Open AVD Manager --> Wipe Data
回答2:
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.
回答3:
emulator -avd "Name" -partition-size 500
This solved the issue for me.
Update on how to execute above command:
- Go to a terminal
cd [android SDK directory]/tools/
- linux terminal:
./emulator -avd nameOfAvd -partition-size 500 &
windows :emulator -avd nameOfAvd -partition-size 500
回答4:
Go to AVD manager on your android studio. click on the pencil icon of the virtual device. on the pop up window click on advanced settings at the bottom. scroll down to memory and storage and alter the default definitions of MB/GB etc.
回答5:
REinstal the emulator.. Go to your AVD location and delete all the files in avd folder( C:\Users\acer.android\avd ), then Go to android studio AVD Manager and install a new emulator. ( but this will erase the current emulator so, you'll need to download it again..)
来源:https://stackoverflow.com/questions/26593711/android-5-0-emulator-showing-storage-space-running-out