我已经构建了我的应用程序,并在真实设备上进行了测试,但出于某种原因,它已超时.我不知道为什么.
这是错误日志:
[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连接超时:
in Eclipse -> Windows -> Preference -> Android -> DDMS
无论您想要什么,都可以更改ADB连接超时(ms).
如果还有问题,你可以尝试:
adb kill-server adb devices
然后,刷新设备.