android環境配置(adb問題)

android環境配置步驟:http://developer.android.com/sdk/installing.html(官方文檔,我就不翻譯了)

中間遇到的問題:

1.myelipse兼容性不好,尤其我用的是7.0,建議新手使用推薦的elipse classical

2.運行helloworld程序時提示錯誤:

[2012-05-31 21:13:58 - HelloAndorid] The connection to adb is down, and a severe error has occured.

[2012-05-31 21:13:58 - HelloAndorid] You must restart adb and Eclipse.

[2012-05-31 21:13:58 - HelloAndorid] Please ensure that adb is correctly located at 'C:\android-sdk\platform-tools\adb.exe' and can be executed.

搜索到的解決方案

 

 

Try below steps:

  1. Close the Eclipse if running
  2. Go to the Android SDK tools directory in Command Prompt
  3. type adb kill-server
  4. then type adb start-server
  5. No error message is thrown while starting ADB server, then adb is started successfully.
  6. Now you can start Eclipse again.

it worked for me this way, Eclipse should be closed before issuing these commands.

運行第四步時命令行提示ADB server didn't ACK

有人的解決方案說:要關閉任務管理其中的adb.exe,我裏面壓根沒有。後來經過種種嘗試,想到我安裝了豆瓣夾,而網上有的方案和這個有關係(我並沒有運行,只是安裝了)

於是我刪掉了豆瓣夾,於是,問題解決!!!

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