歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Ubuntu 10.04下安裝Android 2.2

Ubuntu 10.04下安裝Android 2.2

日期:2017/2/28 16:31:15   编辑:Linux教程
1.首先,系統能夠運行Eclipse。這裡是Android2.2下載地址ADT 0.9.7

2.將Android下載包解壓(for linux),得到android-sdk-linux_86,可以重新命名,如“Android”
3.進入解壓後的tools目錄,雙擊android文件,選擇運行,出現android配置窗口
4.選擇Settings,選上Force https://.... 前的復選框
5.選擇Avaliable Packages,可以選擇所有文件
6.在Installed packages點下Update All... ,然後Accept all,安裝(這裡可能需要重復多次)
7.打開Eclipse,安裝ADT。
Eclipse 3.5 (Galileo)
  1. Start Eclipse, then select Help > Install New Software.
  2. In the Available Software dialog, click Add....
  3. In the Add Site dialog that appears, enter a name for the remote site (for example, "Android Plugin") in the "Name" field.

    In the "Location" field, enter this URL:

     https://dl-ssl.google.com/android/eclipse/ 

    Note: If you have trouble acquiring the plugin, you can try using "http" in the URL, instead of "https" (https is preferred for security reasons).

    Click OK.

  4. Back in the Available Software view, you should now see "Developer Tools" added to the list. Select the checkbox next to Developer Tools, which will automatically select the nested tools Android DDMS and Android Development Tools. ClickNext.
  5. In the resulting Install Details dialog, the Android DDMS and Android Development Tools features are listed. Click Next to read and accept the license agreement and install any dependencies, then click Finish.
  6. Restart Eclipse
Eclipse 3.4 (Ganymede)
  1. Start Eclipse, then select Help > Software Updates.... In the dialog that appears, click the Available Software tab.
  2. Click Add Site...
  3. In the Add Site dialog that appears, enter this URL in the "Location" field:
     https://dl-ssl.google.com/android/eclipse/ 

    Note: If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).

    Click OK.

  4. Back in the Available Software view, you should see the plugin listed by the URL, with "Developer Tools" nested within it. Select the checkbox next to Developer Tools and clickInstall...
  5. On the subsequent Install window, "Android DDMS" and "Android Development Tools" should both be checked. ClickNext.
  6. Read and accept the license agreement, then click Finish.
  7. Restart Eclipse.
8.重啟Eclipse==>Windows==>References==>Android==>Browse==>(選擇android解壓目錄)
Copyright © Linux教程網 All Rights Reserved