Failed to push the item
来源:互联网 发布:数据机房动环品牌 编辑:程序博客网 时间:2024/06/06 18:26
向sdcard中添加文件为什么总是提示Failed to push the item(s)
Failed to push XXXXX.txt on emulator- : Read-only file system
解决:在启动模拟器的时候带着的参数中,模拟器镜像路径需是绝对路径:-sdcard E:\android\android-sdk-windows\tools\sdcard.img
注意这个绝对路径里面不能带空格(如 Program Files)
注意:(卷标、标签)必须是sdcard。如 mksdcard -l sdcard 128M e:\haogood.image(而不能是mksdcard -l haogood 128M e:\haogood.image)
在2.2版SDK以后的ADT中,既可在新建ADV Android虚拟设备时创建一个虚拟盘,也可指定加载以前用mksdcard创建的image文件。
但默认的虚拟卡类型为SD Card。
这和实际Android硬件情形是一样的。
2.Failed to push items null
解决:这个时候需要重启下eclipse
3.Could not find SDK_Root\tools\adb.exe!
可能的原因是下载的sdk版本太新了。网上基本上有两种安装策略:一种是自己下载最新版android sdk;一种是先下载老版sdk(应该是1.6之前),然后加入eclipse,再设置eclipse进行更新。
Failed to push selection: Invalid argument
原因:android不支持中文名字的文件!
还有可参考的文章
http://www.eoeandroid.com/blog-531377-3348.html
我们在Dos里面输入 mksdcard -l sdcard 256M "D:\Program Files\Android\sdcard\sdcard.img"(这个文件的位置可以任意放在哪里,因为我的路径里面有空格,所以路径用了双引号)。
解说:1. sdcard命令可以使用三种尺寸:字节、K和M。如果只使用数字,表示字节。后面还可以跟K,如262144K,也表示256M。
2. sdcard建立的虚拟文件最小为8M,也就是说,模拟器只支持大于8M的虚拟文件。
3. -l命令行参数表示虚拟磁盘的卷标,可以没有该参数。
4. 虚拟文件的后缀.img
可以在Dos里面 输入mksdcard Help 有说的
二、创建好sdcard之后,我们要在模拟器加载sdcard
Window-》AVD Manager-》选中你使用的模拟器-》Edit
然后在SD Card选项中选择File然后选择刚创建的sdcard.img,然后点击Edit AVD进行保存
三、用工具UltraISO向sdcard.img中导入文件。因为UltraISO工具本身可以用来打开镜像,而Android模拟器SD卡上的数据实质上也都是保存在一个镜像文件。
- Failed to push the item
- Failed to push the item(s)解决方法
- Failed to push the item null解决方法
- 向sdcard中添加文件出现Failed to push the item(s)
- Android--eclipse DDMS导出文件失败--android Failed to push the item
- 向sdcard中添加文件出现Failed to push the item(s)
- 向Genymotion中添加文件时出现 Failed to push the item(s).错误
- Failed to push selection
- fatal: The remote end hung up unexpectedly error: failed to push some refs to ''
- failed to push some refs to git
- 解决failed to push some refs to
- error: failed to push some refs to
- Push failed fatal: unable to access 'https://github.The requested URL returned error: 403
- git push 失败 error:failed to push some refs to ...
- 提交git push 时failed to push some refs to
- git-push报错failed to push some refs to
- error: failed to push some refs to 'git@github.com:....." Updates were rejected because the remote c
- Git push时报错:Failed connect to github.com:443; No error和The remote end hung up unexpectedly
- 如何防范Linux操作系统下缓冲区溢出攻击
- java中的io系统详解
- linux非实时任务调度CFS算法分析
- Php 除法取整
- 通透讲解缓冲区溢出
- Failed to push the item
- linux内核分析之调度算法——CFS调度分析
- Eclipse集成Maven 步骤和注意事项
- 经典算法面试与解答(二)
- AJAX 详解
- 如何部署tomcat,如何在项目中将服务引入
- libmad使用一步步进阶
- Fedora 14 开机自动运行脚本
- 创建进程-CreateProcess (二)