本文介绍了Android 5.0模拟器显示存储空间用尽的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我刚刚将Android SDK更新至版本21,并尝试启动模拟器.我将Nexus 4与CPU Intel Atom(x86)768 RAM和524内部存储器一起使用.仿真器可以正常启动,但是会显示错误消息存储空间用尽",并且运行速度很慢.我也尝试增加RAM,但是没有用.可能是什么问题?
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?
推荐答案
emulator -avd "Name" -partition-size 500
这为我解决了这个问题.
This solved the issue for me.
有关如何执行上述命令的最新信息:
Update on how to execute above command:
- 转到终端
-
cd [android SDK directory]/tools/
- linux终端:
./emulator -avd nameOfAvd -partition-size 500 &
Windows:emulator -avd nameOfAvd -partition-size 500
- Go to a terminal
cd [android SDK directory]/tools/
- linux terminal:
./emulator -avd nameOfAvd -partition-size 500 &
windows :emulator -avd nameOfAvd -partition-size 500
这篇关于Android 5.0模拟器显示存储空间用尽的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!