设为首页 加入收藏

TOP

向Android模拟器中复制文件报out of memory错误解决
2014-11-24 03:22:19 来源: 作者: 【 】 浏览:1
Tags:Android 模拟器 复制 文件 out memory 错误 解决

原因:


用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.


】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇Linux互斥锁、条件变量和信号量 下一篇Android 让你的SeekBar 也支持长..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·常用meta整理 | 菜鸟 (2025-12-25 01:21:52)
·SQL HAVING 子句:深 (2025-12-25 01:21:47)
·SQL CREATE INDEX 语 (2025-12-25 01:21:45)
·Shell 传递参数 (2025-12-25 00:50:45)
·Linux echo 命令 - (2025-12-25 00:50:43)