模拟器报内存不足OOM异常解决方法
2011-10-10 13:16
1326 查看
在android开发过程中,要经常用到模拟器报内存不足OOM
原因:
用Elcipse或者是android sdk下的程序启动的模拟器,都会报这个错.
试试直接在命令行下输入
emulator -avd你创建的avd名字(比如android2.1) -partition-size 128
启动.
英文原文:
As android developer, if you use the following command like:
adb push file /system/..
and meet problems like “failed to copy file to /system/…”, such as:
failed to copy ‘file’ to ‘/system/…’: No space left on device
failed to copy ‘file’ to ‘/system/…’: Out of memory
The resolve method is not using the Eclipse or AVD Manager to start the Android emulator, but by use the command first:
$emulator -avd youravdname -partition-size 128
Then you can try the command “adb push file /system/…”, and the problem maybe resolved.
from:http://ifeisu.iteye.com/blog/1148314
原因:
用Elcipse或者是android sdk下的程序启动的模拟器,都会报这个错.
试试直接在命令行下输入
emulator -avd你创建的avd名字(比如android2.1) -partition-size 128
启动.
英文原文:
As android developer, if you use the following command like:
adb push file /system/..
and meet problems like “failed to copy file to /system/…”, such as:
failed to copy ‘file’ to ‘/system/…’: No space left on device
failed to copy ‘file’ to ‘/system/…’: Out of memory
The resolve method is not using the Eclipse or AVD Manager to start the Android emulator, but by use the command first:
$emulator -avd youravdname -partition-size 128
Then you can try the command “adb push file /system/…”, and the problem maybe resolved.
from:http://ifeisu.iteye.com/blog/1148314
相关文章推荐
- 模拟器启动错误,ADB server didn't ACK异常解决方法
- senchatouch在模拟器中正常在浏览器中异常的解决方法
- 在构建好maven项目后运行时出现异常时解决方法参考
- iOS 模拟器中点击 TextFiled后不弹出软键盘的解决方法
- Android 图片加载Bit地图 OOM异常解决方法
- Java ConcurrentModificationException异常原因和解决方法
- Android 异常解决方法汇总
- Struts2中使用execAndWait后,在 Action中调用getXXX()方法报告java.lang.NullPointerException异常的原因和解决方法
- [Unity3D]引擎崩溃、异常、警告、BUG与提示总结及解决方法
- IllegalMonitorStateException 异常例子的解决方法
- Java ConcurrentModificationException异常原因和解决方法
- WebServices CXF开发常见异常及解决方法
- eclipse中Error generating final archive: Debug certificate expired on异常的解决方法
- [Unity3D]引擎崩溃、异常、警告、BUG与提示总结及解决方法
- 静态方法中读取properties文件null异常解决方法
- System.UnauthorizedAccessException”类型的异常解决方法
- 异常:getOutputStream() has already been called for this response 的解决方法
- Android 异常解决方法汇总
- PAYPAL 支付,sandbox测试的时候遇到异常:请求被中止: 未能创建 SSL/TLS 安全通道,以及解决方法。
- org.tigris.subversion.javahl.ClientException: Attempted to lock an already-locked dir异常解决方法 【转】