菜单
  

    o    You will need to download the self-extracting binary to the location in which you want to install the JDK on your filesystem. If that is a system-wide directory (such as /usr/local), you will need root access. After the file is downloaded, make it executable (chmod +x jdk-6version-linux-i586.bin), and execute it. It will self-extract to create a tree of directories.

    Mac OS X
    Mac OS X comes with JDK version 5 already loaded.
    2.    Install Eclipse: The Android SDK requires Eclipse version 3.3 or later. If you do not have that version of Eclipse installed yet, you will need to go to to get it, and you might as well get version 3.4 (also known as Ganymede), since that package includes the required plug-ins mentioned in the next step. You want the version of the Eclipse IDE labeled "Eclipse IDE for Java Developers," and obviously you want the version for your operating system. Eclipse will ask you to select a mirror site, and will then start the download.

    Windows (XP or Vista)
    The Eclipse download comes as a big ZIP file that you install by extracting the files to your favorite directory. For this book, we'll assume that you extracted to C:/eclipse. Eclipse is now installed, but it will not show up in your Start menu of applications. You may want to create a Windows shortcut for C:/eclipse/eclipse.exe and place it on your desktop, in your Start menu, or someplace else where you can easily find it.

    Linux and Mac OS X
    Note that, as of this writing, the version of Eclipse installed if you request it on Ubuntu Hardy Heron is 3.2.2, which does not contain all the plug-ins needed for Android. The Eclipse download comes as a big tarball (.gz file) that you install by extracting the files to your favorite directory. For this book, we'll assume that you extracted to /usr/lib/eclipse. The executable itself is located in that directory and is named eclipse.
    3.    Check for required plug-ins: You can skip this step if you just downloaded a current version of Eclipse as we recommended. If you are using a preinstalled version of Eclipse, you need to make sure you have the Java Development Tool (JDT) and Web Standard Tools (WST) plug-ins. You can easily check to see whether they are installed by starting Eclipse and selecting menu options "Windows  Preferences...". The list of preferences should include one for "Java" and one for either "XML" or "Web and XML." If they aren't on the list, the easiest thing to do is reinstall Eclipse, as described in the previous step. Installing "Eclipse IDE for Java Developers" will automatically get the needed plug-ins.
    4.    Install Android SDK: This is where you should start if you already have the right versions of Eclipse and the JDK loaded. The Android SDK is distributed through Google's Android site, . You will need to read, review, and accept the terms of the license to proceed. When you get to the list of downloads, you will see a table of distributions. Select the one for your operating system (XP and Vista use the same distribution). The package (file) names include the release number. For example, as this is written, the latest version of the SDK is 1.1_r1, so the filename for Windows is android-sdk-win⁠dows-1.1_r1.zip.
    For versions 3.3 and later of Eclipse, the Android download site provides directions about how to install the plug-in through Eclipse's software updates utility. If you're using Eclipse 3.2 or the software update technique doesn't work for you, download the SDK from the Android site and install it using instructions in the next paragraph.
    The file you download is another archive file, as with Eclipse: a ZIP file on Windows, a tar-zipped file for Linux and MacOS X. Do the same thing as for Eclipse: extract the archive file to a directory where you want to install Android, and make a note of the directory name (you'll need it in step 6). The extraction will create a directory tree containing a bunch of subdirectories, including one called tools.
  1. 上一篇:供销存管理英文文献和中文翻译
  2. 下一篇:JSP技术英文文献及参考文献
  1. 会计矿业环境估值方法英文文献和中文翻译

  2. 信息系统开发与数据库开...

  3. 海洋结构物的环境影响评...

  4. 数据库开发过程英文文献和中文翻译

  5. 系统开发生命周期英文文献和中文翻译

  6. 软件开发项目的企业管理英文文献和中文翻译

  7. 产品设计与环境英文文献和中文翻译

  8. 巴金《激流三部曲》高觉新的悲剧命运

  9. 现代简约美式风格在室内家装中的运用

  10. 浅析中国古代宗法制度

  11. NFC协议物理层的软件实现+文献综述

  12. C++最短路径算法研究和程序设计

  13. g-C3N4光催化剂的制备和光催化性能研究

  14. 江苏省某高中学生体质现状的调查研究

  15. 上市公司股权结构对经营绩效的影响研究

  16. 中国传统元素在游戏角色...

  17. 高警觉工作人群的元情绪...

  

About

优尔论文网手机版...

主页:http://www.youerw.com

关闭返回