Application failed on Emulator to launch due to time-out

孤者浪人 提交于 2020-01-03 13:06:33

问题


From past 1 hour,I am unable to launch my application on Eclipse-Helios and the console on my Eclipse gives the following error:

[2011-11-21 10:37:00 - PagingScrollerExample] Failed to install PagingScrollerExample.apk on device 'emulator-5554': timeout
[2011-11-21 10:37:00 - PagingScrollerExample] Launch canceled!

I had come across the same problem before,but whenever I perform Project->Clean process I could overcome this sort of problem.But today I don't know what has happened.I performed the Clean process and uninstalled the same application on my Emulator which was running before as well.

Could anyone sort out this problem for me and most importantly I would like to know what would be the reason for this?

I am using Android-2.2 as a target for this application.


回答1:


You may have to increase the ADB connection time out. In the Eclipse--> Preferences--> Android---> DDMS, increase the ADB connection time out to 10000. By default it would be 5000.

Please try this. Hope it would help.




回答2:


Try closing your emulator. and launching it again.. i know its tedious process.. but it works.. :)



来源:https://stackoverflow.com/questions/8207589/application-failed-on-emulator-to-launch-due-to-time-out

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!