安卓超时错误 [英] android timeout error
本文介绍了安卓超时错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我构建我的应用程序,并已在实际设备上进行测试,但由于某种原因,它是超时。我不知道为什么。
下面是错误日志:
[2012-05-29 9时49分42秒 - androidGUI] Android的推出!
[2012-05-29 9时49分42秒 - androidGUI]亚洲开发银行运行正常。
[2012-05-29 9时49分42秒 - androidGUI]执行alex.android.development.AndroidGUIActivity活动启动
[2012-05-29 9时49分42秒 - androidGUI]自动目标模式:使用设备3834522F2C1E00EC
[2012-05-29 9时49分42秒 - androidGUI]上传androidGUI.apk到设备3834522F2C1E00EC
[2012-05-29 9时49分48秒 - androidGUI]到设备'3834522F2C1E00EC安装androidGUI.apk失败:超时
[2012-05-29 9时49分48秒 - androidGUI]启动取消!
解决方案
尝试修改 DDMS ADB连接超时
在Eclipse - > Windows版 - > preference - > Android的 - > DDMS
更改亚行连接超时(毫秒)做大任何你想要的。
如果它也是这个问题,你可以试试:
ADB杀死服务器
ADB设备
然后,刷新装置(S)。
I have constructed my app and have tested it on the real device but for some reason it is timing out. I am not sure why.
Here is Error log:
[2012-05-29 09:49:42 - androidGUI] Android Launch!
[2012-05-29 09:49:42 - androidGUI] adb is running normally.
[2012-05-29 09:49:42 - androidGUI] Performing alex.android.development.AndroidGUIActivity activity launch
[2012-05-29 09:49:42 - androidGUI] Automatic Target Mode: using device '3834522F2C1E00EC'
[2012-05-29 09:49:42 - androidGUI] Uploading androidGUI.apk onto device '3834522F2C1E00EC'
[2012-05-29 09:49:48 - androidGUI] Failed to install androidGUI.apk on device '3834522F2C1E00EC': timeout
[2012-05-29 09:49:48 - androidGUI] Launch canceled!
解决方案
Try change the DDMS adb connect time out :
in Eclipse -> Windows -> Preference -> Android -> DDMS
Change the ADB Connection time out(ms) bigger whatever you want.
If it also the problem, you can try:
adb kill-server
adb devices
Then, refresh the device(s).
这篇关于安卓超时错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文