You must restart adb and Eclipse.
Please ensure that adb is correctly located at 'D:\OPhoneSDK_1.5
\platform-tools\adb.exe' and can be executed.
解決:
方法1.cmd中adb kill-server,然後adb -startserver
方法2.方法1不管用,那麼在任務管理器中殺死adb.exe,然後重啓Eclipse。
方法3.方法1和2都不管用,那麼查看最後一句報錯中:platform-tools中是否有adb.exe(我的錯誤就是在相關路徑下面沒有platform-tools文件夾
,所以我選擇新建一個文件夾,並且把tools中的文件全部複製到platform-tools中)
4.前面的方法試了還是不行的話,建議重新裝一個系統,最好換個系統。
我個人認爲一開始應該先檢查一下android的環境變量的配置,我個人解決的方式就是進行環境變量的配置,android_sdk_home配置一下即可完美解決;