Android連接真機調試timeout的解決方案

錯誤出現:連接真機調試的時候如果連接太久沒響應就會出現timeout

根據網上衆多資料:可分爲這幾個解決方法

方法由簡單到麻煩:

1.在window-》prensent....-》android-》設置ddms的timeout時間。這種是就最有效、最簡潔的。

2.delete android裏面的 apk,保證速度。不過試過一次後,真機好像變“聰明瞭”,也出現timeout。

3.Cleaning the project (Project->Clean),不行就重啓eclipse或者android,很鬱悶的是,重啓後運行第一次可以。第二次就開始變慢了,也就是出現timeout

4.網上一個我沒試過的方法:

Don't use spaces in your directory names. If you have files that are in such a directory (e.g., stuff inside of C:\Program Files\), copy them to another spot that does not have spaces.

很明顯是說目錄裏面不要有空格,排除

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章