我已经构建了我的应用程序并在真实设备上对其进行了测试,但由于某种原因它超时了。我不知道为什么。

这是错误日志:

[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!

最佳答案

尝试更改 DDMS adb 连接超时 :



ADB Connection time out(ms) 更改为更大的值。

如果这也是问题,您可以尝试:

adb kill-server
adb devices

然后,刷新设备。

10-05 19:02