IOException异常每次我尝试上传任何Android模拟器 [英] IOException everytime I try to upload anything to android emulator

查看:178
本文介绍了IOException异常每次我尝试上传任何Android模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是Windows 7旗舰版64位版本和Eclipse 3.5与Android插件。每次我创建一个新项目,并尝试发布它,我得到一个错误这样的:

I'm using Windows 7 Ultimate 64 bit edition and Eclipse 3.5 with the Android plugin. Every time I create a new project and try to publish it, I get an error like this:

[2010-02-15 22:48:10 - EPG3]Uploading EPG3.apk onto device 'emulator-5554'
[2010-02-15 22:48:15 - EPG3]Failed to upload EPG3.apk on device 'emulator-5554'
[2010-02-15 22:48:15 - EPG3]java.io.IOException: Unable to upload file: timeout
[2010-02-15 22:48:15 - EPG3]Launch canceled!

模拟器完美地工作,亚行可以看到它,我甚至可以从的logcat,但它不能推或拉它什么。未显示任何的logcat建议模拟器甚至收到任何命令。没关系,如果我有打开或关闭防火墙,或者如果我尝试援引亚洲开发银行安装绕过插件。即使有一个空白的应用程序没有什么工作。

The emulator is working perfectly, adb can see it, I can even logcat from it, but it can't push or pull anything from it. Nothing appears in logcat to suggest the emulator even received any command. It doesn't matter if I have the Firewall on or off, or if I try invoking adb install to bypass the plugin. Nothing works even with a blank app.

任何想法?

推荐答案

不知道这是否帮助,但我有同样的例外,当我试图上传项目到设备,通过增加亚行连接时的价值进行固定它(毫秒)

Not sure if this helps but I had the same exception when I tried uploading a project to the device and fixed it by increasing the value of "adb connection time out (ms)"

PC:(日食 - >窗口 - >设置 - >机器人 - > DDMS) MAC:(日食 - > preferences - >机器人 - > DDMS)

PC: (eclipse -> window -> settings -> android -> ddms) MAC: (eclipse -> preferences -> android -> ddms)

我是pretty的惹到自己,我花了这么长时间才找到设置,所以我想我会分享。

I was pretty pissed at myself that it took me so long to find the setting so I thought I'd share.

这篇关于IOException异常每次我尝试上传任何Android模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆