2013-11-29 64 views
0

我無法在我的PC上調試任何android項目。我正在使用adt bundle版本,其中Eclipse和SDK都捆綁在一起。我嘗試了幾乎所有在此處找到的解決方案,例如重新啓動PC(運行Ubuntu),Android設備和adb server,將android:debuggable="true"添加到manifest.xml文件,將調試端口更改爲8601,但沒有任何幫助。我也嘗試過使用adt bundle在另一臺PC上進行調試,並且無法對其進行調試。 adt軟件包有什麼問題阻止我進行調試,或者SDK或Eclipse中有一些設置我錯過了嗎?無法在Eclipse中調試android項目(adt包)

編輯:

我得到的錯誤:

Launch error: Failed to connect to remote VM. Connection timed out. 

任何人都可以使用這個帖子上的評論adt-bundle誰已經成功調試Android應用程序,所以我知道這是可能的嗎?

+0

你把斷點在正確的? – Dan

+0

你使用模擬器或設備進行調試嗎? – naXa

+0

我已經把斷點,我在一個實際的設備上進行調試..雖然我已經嘗試在模擬器上調試,並且它也無法在模擬器上工作。 – thunderbird

回答

3

你是否在設備上變成開發人員選項? see here

this may be useful

爲你的錯誤連接超時

進入Windows的>首選項> Android-> DDMS。更改默認端口,應用並重新啓動Eclipse。

如果這也不起作用

做CTRL + ALT + DELETE,並殺死所有adb.exe處理

+2

yes大聲笑,開發人員選項已打開。 – thunderbird

+0

我在'ubuntu'上,我已經嘗試將端口設置爲默認值並重新啓動'adb服務器'。 – thunderbird

相關問題