而安装仿真器超时错误消息的apk [英] Emulator Timeout Error Message while Installing .apk

查看:410
本文介绍了而安装仿真器超时错误消息的apk的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:结果
  <一href=\"http://stackoverflow.com/questions/4775603/android-error-failed-to-install-apk-on-device-timeout\">Android错误:无法在设备上安装* * .apk文件:超时

一直得到错误,当我尝试推出任何手机应用程序的Andr​​oid。这些错误并不predictable - 有时(像曾经出10次)的奇迹发生,一切正常。但大多数的时候我得到这个错误:

keep getting error messages when I try to launch any mobile app with android. These errors are not predictable - sometimes (like once out of 10 times) a miracle happens and everything works. But most of the time I get this error:

[错误] C:\\ Program Files文件\\钛开发\\ Android的SDK-WINDOWS \\工具\\ adb.exe
错误:协议故障(没有状态)

随后此错误以后:

[调试]等待设备准备就绪...
[TRACE] ADB设备返回0设备/仿真器
......
[错误]超时等待模拟器做好准备,
您可能需要关闭模拟器,然后重试

模拟器启动,我得到锁定的屏幕,但不知何故与它的连接丢失。

The emulator starts and I get the locked screen but somehow the connection with it is lost.

我试着从一个批处理文件为别人单独启动模拟器建议之前,我打开TI开发商,但我得到了同样的错误。

I tried launching the emulator separately from a batch file as someone else suggested before I open the ti developer but I get the same errors.

即使正常运行一次,如果我做的改变,并希望重新启动(无需停止或关闭模拟器)我总是得到上面的错误。我想我们应该是能够保持重用模拟器一旦它的启动和运行,但对我来说永远不会奏效这样的。

Even if it runs correctly once, if I make changes and want to relaunch (without stopping or closing the emulator) I always get the errors above. I thought we are supposed to be able to keep reusing the emulator once it's up and running but for me it never works like that.

当我尝试从Eclipse中运行它用来给下面的消息无法设备'模拟器-5554安装Demo.apk:超时

When i try to run from eclipse it used to give the following message Failed to install Demo.apk on device 'emulator-5554': timeout

我想没有杀害ADB服务器或不用再次关闭模拟器中运行相同的应用程序。

I want to run the same application without killing adb server or without closing the emulator again.

请任何帮助将是AP preciated很多!!!!!!!!!

Please any help would be appreciated lot!!!!!!!!!

推荐答案

这是因为默认ADB空闲超时时间是5000毫秒。

That's because the default ADB idle time out is 5000ms.

窗口 - &GT; preferences - &GT; Android的 - &GT; DDMS。增加亚行超时。这将解决您的问题。

Take Window -> Preferences -> Android -> DDMS. Increase your ADB time out. This will solve your problem

这篇关于而安装仿真器超时错误消息的apk的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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