安装.apk时模拟器超时错误消息

G M*_*esh 3 android timeout adb android-emulator apk

可能重复:
Android错误:无法在设备上安装*.apk*:超时

当我尝试使用android启动任何移动应用程序时,不断收到错误消息.这些错误是不可预测的 - 有时候(就像10次一次)奇迹发生,一切正常.但大多数时候我收到这个错误:

[ERROR] C:\Program Files\Titanium Developer\android-sdk-windows\tools\adb.exe error: protocol fault (no status)

之后出现此错误:

[DEBUG] Waiting for device to be ready ... [TRACE] adb devices returned 0 devices/emulators ...... [ERROR] Timed out waiting for emulator to be ready, you may need to close the emulator and try again

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

在我打开ti开发人员之前,我尝试将其与批处理文件分开启动,就像其他人建议的一样,但我得到了相同的错误.

即使它运行正确一次,如果我进行更改并想要重新启动(不停止或关闭模拟器),我总是得到上面的错误.我认为我们应该能够在模拟器启动和运行后继续重用它,但对我来说它永远不会那样.

当我尝试从eclipse运行时,它曾经给出以下消息 Failed to install Demo.apk on device 'emulator-5554': timeout

我想运行相同的应用程序而不杀死adb服务器或不再关闭模拟器.

请任何帮助将不胜感激!!!!!!!!!

Ren*_*ith 7

那是因为默认的ADB空闲时间是5000ms.

Window -> Preferences -> Android -> DDMS.提高您的ADB超时.这将解决您的问题