1. 程式人生 > >在Eclipse中安裝ADT

在Eclipse中安裝ADT

Eclipse 3.4 (Ganymede)

  1. 啟動 Eclipse,然後選擇 Help > Software Updates…。在出現的對話方塊中,單擊 Available Software 選項卡。
  2. 單擊 Add Site
  3. 在 Add Site 對話方塊的 Location 欄位中輸入下面的 URL:http://dl-ssl.google.com/android/eclipse單擊 OK
  4. 回到 Available Software 介面,單擊展開http://dl-ssl.google.com/android/eclipse,可以看到 URL 中包含的外掛列表,其中有 Developer Tools 一項。選擇 Developer Tools 旁邊的複選框,單擊 Install。
  5. 在接來下出現的安裝視窗中,應該會出現被選中的 Android DDMS 和 Android Development Tools。單擊 Next
  6. 閱讀並接受許可協議,然後單擊 Finish
  7. 重新啟動 Eclipse。

Eclipse 3.5 (Galileo)

  1. 啟動 Eclipse,然後選擇 Help > Install New Software
  2. 在 Available Software 對話方塊中,單擊 Add…
  3. 在 Add Site 對話方塊的 Name 欄位中,輸入遠端站點的名稱(例如“Android Plugin”)。在 Location 欄位中,輸入下面的 URL:https
    ://dl-ssl.google.com/android/eclipse/
    注意:如果訪 問該外掛時遇到問題,可以將 URL 中的 https 改成 http(使用https會更安全一些)。單擊 OK
  4. 回到 Available Software 介面,應該可以看到列表中的 Developer Tools 選項。選擇 Developer Tools 旁邊的複選框,會同時選中 Android DDMS 和 Android Development Tools。單擊 Next
  5. 在最後的 Install Details 對話方塊中,會列出 Android DDMS 和 Android Development Tools 等特性。單擊 Next
    閱讀並接受許可協議,同時安裝所有依賴元件,然後單擊 Finish
  6. 重新啟動 Eclipse。