您的位置:首页 > 大数据 > 人工智能

Failed to install *.apk on device 'emulator-5554': timeout .

2013-06-11 10:35 309 查看
错误提示:
Failed to install helloworld.apk on device 'emulator-5554': timeout
或者
the user data image is used
 
原因:
由于模拟器已经开启而没有关闭或者非法关闭引起的。
解决方法:
删除 C:\Documents and Settings\Administrator\.android\avd\对应版本.avd
下所有以.lock结尾的文件夹。

 
 

或者

 

Failed to install *.apk on device *:

timeout Launch canceled!
 还有一种办法:

在window->preferences->Android->DDMS->ADB connection time out (ms): 

将这个值设置的大一些,默认为5000,我设置成500000,然后就OK了。
我有一次试N种方法都解决不了,后来就是用这个办法解决的。
 

<!---->
1. Cleaning the project (Project->Clean)
2. Restarting device, Eclipse, laptop, all of the above...
3. Moving the project to a location without spaces, according to Failed to install apk on device 'emulator-5554':
timeout <

 
 

<!--EndFragment-->
分享到:

上一篇:hibernate3的cascade导致deleted object would be re-saved by cascade与 A collection with cascade="all-dele
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐