问题推大文件到模拟器/ SD卡与Eclipse DDMS [英] Problem Pushing Large File to Emulator/SDcard with Eclipse DDMS
问题描述
我使用的Eclipse DDMS到文件上推到我的Android模拟器的SD卡。我选择文件和preSS打开,弹出一个对话框,并开始推该文件。在DDMS视野下的文件管理器我可以看到SD卡目录,可以看到它在我的文件中创建。然后在弹出的进度表获得半路然后我得到在控制台窗口中此错误:
I am using Eclipse DDMS to push a file over onto my Android Emulator sdcard. I select the file and press Open, a dialog pops up and starts pushing the file. In the view "File Explorer" in the DDMS perspective I can see the sdcard directory and can see my file created in it. Then in the popup the progress meter gets halfway then I get this error in the Console window:
[2011-09-22 15:15:56] Failed to push the item(s).
[2011-09-22 15:15:56] (null)
然后在文件浏览器完全刷新和文件中消失。我知道SD卡是设置为1G的空间,我推的文件只有9M。
Then the File Explorer completely refreshes and the file disappears. I know the sdcard is setup for 1G of space and the file I am pushing is only 9M.
下面是在推动和失败后的图像。
Here are images during push and after fail.
那我做错了还是什么,我需要做的,解决这个问题?
So what am I doing wrong or what do I need to do to fix this?
推荐答案
下面是你解决这个问题的方式。我有大约160M因此发生了什么事是最有可能的时间了大量的文件。因此,要解决这个问题我去到Eclipse的Windows - > preferences - > Android的 - > DDMS然后我设置ADB连接超时500000,并检查主题的更新启用,并检查堆更新启用当时我能。任何文件大小推到SD卡我计上心来阅读本的螺纹
Here is the way you fix it. I had a large file about 160M so what was happening it was most likely timing out. So to fix this I went to the Eclipse Windows -> Preferences -> Android -> DDMS then I set the ADB connection time out to 500000 and checked "Thread updates enabled" and checked Heap updates enabled". I was then able to push any file size up to the sdcard. I got the idea after reading this thread
重新启动IDE在某些情况下,在我的我也没必要。
Restart the IDE in some cases in mine I didn't need to.
这篇关于问题推大文件到模拟器/ SD卡与Eclipse DDMS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!