Installing the Eclipse Plugin (ADT)

来源:互联网 发布:车蜗杆用g76怎么编程程 编辑:程序博客网 时间:2024/05/22 12:33

If you will be using the Eclipse IDE as your environment for developing Android applications, you can install a custom plugin called Android Development Tools (ADT), which adds integrated support for Android projects and tools. The ADT plugin includes a variety of powerful extensions that make creating, running, and debugging Android applications faster and easier.

[译]如果我们要使用Eclipse IDE 作为我们开发Android应用的开发环境,你要安装一个称为ADT(Adnroid 开发工具)的插件。该插件能够完整的支持Android的项目和工具。这个ADT插件的功能强大,它能使得创建、运行、调试Android应用程序更加的快捷和方便。

If you will not be using the Eclipse IDE, you do not need to download or install the ADT plugin.

[使用说明]

         以下就不翻译了,也就是使用Eclipse中的Help > Software Updates > Find and Install.... 菜单命令进行安装插件的一般方法。

       在安装完毕并重启Eclipse之后,还要进行最后一步的设置 :

       使用菜单:Window > Preferences... ,在弹出的“属性”Preferences框中,单击左侧栏目的“Android”项,它会提示你说SDK的目录不对,那你就将前面解压过的SDK的目录输入或者能过“浏览”按钮选择即可。

    注意: 只要SDK的目录,不要选择SDK目录中的tools文件夹。

To download and install the ADT plugin, set up an Eclipse remote update site as described in the steps below.

  1. Start Eclipse, then select Help > Software Updates > Find and Install....
  2. In the dialog that appears, select Search for new features to install and press Next.
  3. Press New Remote Site.
  4. In the resulting dialog box, enter a name for the remote site (e.g. Android Plugin) and enter this as its URL:
    https://dl-ssl.google.com/android/eclipse/
    Press OK.
  5. You should now see the new site added to the search list (and checked). Press Finish.
  6. In the subsequent Search Results dialog box, select the checkbox for Android Plugin > Eclipse Integration > Android Development Tools and press Next.
  7. Read the license agreement and then select Accept terms of the license agreement, if appropriate. Press Next.
  8. Press Finish.
  9. The ADT plugin is not signed; you can accept the installation anyway by pressing Install All.
  10. Restart Eclipse.
  11. After restart, update your Eclipse preferences to point to the SDK directory:
    1. Select Window > Preferences... to open the Preferences panel. (Mac OS X: Eclipse > Preferences)
    2. Select Android from the left panel.
    3. For the SDK Location in the main panel, press Browse... and locate the SDK directory.
    4. Press Apply, then OK.
原创粉丝点击