Failed to install on device 'emulator-5554': timeout--转自zhoujianhai,263229365g,

问题:Failed to install on device 'emulator-5554': timeout

解决办法一:每重新运行一次都会出现,可能是eclipse和模拟

器太慢了。eclipse -> window -> Preferences -> Android ->

DDMS -> ADB connection time out(ms).把这个时间设置的长一些,默认是5秒,

我改成20秒就ok了。这样就不用每次重启模拟器了~


解决办法二:错误提示:
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结尾的文件夹。
解决办法三:
<!---->
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-->


我是用办法二解决的
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值