android Eclipse 啟動不了

來源:互聯網
上載者:User

標籤:eclipse   android   無法啟動   

    最近開發環境遇到類似的ADB server didn‘t ACK問題,花費了不少時間,希望對大家有協助!
  • 650) this.width=650;" alt="ADB server didn‘t ACK" src="http://g.hiphotos.baidu.com/exp/whcrop=92,69/sign=77c261123ac79f3d8fb4b272d5d1f028/9345d688d43f87941a3d6cc3d31b0ef41ad53a18.jpg" style="border:0px;height:50px;width:67px;" />1

  • 650) this.width=650;" alt="ADB server didn‘t ACK" src="http://h.hiphotos.baidu.com/exp/whcrop=92,69/sign=33edc5177acb0a468577dd7b0413cb1d/d62a6059252dd42a172a2646023b5bb5c9eab83f.jpg" style="border:0px;height:50px;width:67px;" />2

  • 650) this.width=650;" alt="ADB server didn‘t ACK" src="http://b.hiphotos.baidu.com/exp/whcrop=92,69/sign=ce5af9251b4c510fae91b4580f291814/37d3d539b6003af37399fb8d342ac65c1038b63f.jpg" style="border:0px;height:50px;width:67px;" />3

  • 650) this.width=650;" alt="ADB server didn‘t ACK" src="http://e.hiphotos.baidu.com/exp/whcrop=92,69/sign=57254968c8ea15ce41bbb64bd97007ca/b3119313b07eca8031261e0a902397dda144833f.jpg" style="border:0px;height:50px;width:67px;" />4

  • 650) this.width=650;" alt="ADB server didn‘t ACK" src="http://a.hiphotos.baidu.com/exp/whcrop=92,69/sign=64c983fe96dda144da5c3af0ddc7ed9b/a2cc7cd98d1001e9511f33e2b90e7bec54e7973f.jpg" style="border:0px;height:50px;width:67px;" />5

  • 650) this.width=650;" alt="ADB server didn‘t ACK" src="http://d.hiphotos.baidu.com/exp/whcrop=92,69/sign=184e5d1fd462853592b58463ff9f4bff/8d5494eef01f3a29aeebf2239825bc315c607c3f.jpg" style="border:0px;height:50px;width:67px;" />6

    650) this.width=650;" alt="ADB server didn‘t ACK" src="http://h.hiphotos.baidu.com/exp/whcrop=92,69/sign=27fa43e0279759ee4a053689dd8b7e2f/730e0cf3d7ca7bcb2546e0c2bf096b63f624a819.jpg" style="border:0px;height:50px;width:67px;" />7

分步閱讀

當我們通過eclipse開發Android應用時,會串連真機會使用模擬器進行模擬,有時候啟動失敗,會提示這樣的錯誤。



650) this.width=650;" class="exp-image-default" alt="ADB server didn‘t ACK" src="http://g.hiphotos.baidu.com/exp/w=500/sign=6ff6a2039d82d158bb8259b1b00819d5/9345d688d43f87941a3d6cc3d31b0ef41ad53a18.jpg" style="border:0px;" />

650) this.width=650;" class="exp-image-default" alt="ADB server didn‘t ACK" src="http://h.hiphotos.baidu.com/exp/w=500/sign=68320302a8ec8a13141a57e0c7029157/d62a6059252dd42a172a2646023b5bb5c9eab83f.jpg" style="border:0px;" />

工具/原料
  • Eclipse

  • CMD命令視窗

方法/步驟
  1. 首先通過CMD啟動adb服務。這個時候會提示啟動失敗。

    650) this.width=650;" class="exp-image-default" alt="ADB server didn‘t ACK" src="http://b.hiphotos.baidu.com/exp/w=500/sign=1823344a58ee3d6d22c687cb73176d41/37d3d539b6003af37399fb8d342ac65c1038b63f.jpg" style="border:0px;" />

  2. 服務啟動失敗的原因有很多,但一般是連接埠綁定失敗。我們來查看一下連接埠綁定資訊。,真的是連接埠綁定出了問題。

    650) this.width=650;" class="exp-image-default" alt="ADB server didn‘t ACK" src="http://e.hiphotos.baidu.com/exp/w=500/sign=5de9828f9922720e7bcee2fa4bca0a3a/b3119313b07eca8031261e0a902397dda144833f.jpg" style="border:0px;" />

  3. 我們來看看哪個服務佔用了這個連接埠。這裡面有2個進程佔用了這個連接埠。

    650) this.width=650;" class="exp-image-default" alt="ADB server didn‘t ACK" src="http://a.hiphotos.baidu.com/exp/w=500/sign=084737f0d52a283443a6360b6bb4c92e/a2cc7cd98d1001e9511f33e2b90e7bec54e7973f.jpg" style="border:0px;" />

  4. 我們進入工作管理員,關閉這個進程。其中824進程是我的QQ,我已經關閉了。

    650) this.width=650;" class="exp-image-default" alt="ADB server didn‘t ACK" src="http://d.hiphotos.baidu.com/exp/w=500/sign=14c3b399ac345982c58ae5923cf5310b/8d5494eef01f3a29aeebf2239825bc315c607c3f.jpg" style="border:0px;" />

  5. 再次啟動服務,啟動成功。

    650) this.width=650;" class="exp-image-default" alt="ADB server didn‘t ACK" src="http://h.hiphotos.baidu.com/exp/w=500/sign=b12f15d529381f309e198da999004c67/730e0cf3d7ca7bcb2546e0c2bf096b63f624a819.jpg" style="border:0px;" />

  6. 關閉Eclipse,重啟,再次串連模擬器。

    650) this.width=650;" class="exp-image-default" alt="ADB server didn‘t ACK" src="http://g.hiphotos.baidu.com/exp/w=500/sign=ccd345f110dfa9ecfd2e561752d1f754/d8f9d72a6059252dea2a3ae9359b033b5bb5b919.jpg" style="border:0px;" />


android   Eclipse 啟動不了

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.