zoukankan      html  css  js  c++  java
  • android开发环境安装记录

    首先进入http://developer.android.com/sdk/index.html,

    Google提供了一个新的DeveloperTools,即:ADT Bundle,中文翻译之:ADT捆绑包。

    第一步:
    Get theAndroid SDK
    The Android SDKprovides you the API libraries and developer tools necessary to build, test,and debug apps for Android.
    If you're a newAndroid developer, we recommend you download the ADT Bundle to quickly startdeveloping apps. It includes the essential Android SDK components and a versionof the Eclipse IDE with built-in ADT (Android Developer Tools) tostreamline your Android app development.
    With a singledownload, the ADT Bundle includes everything you need to begin developing apps:
    · Eclipse + ADT plugin
    · Android SDK Tools
    · Android Platform-tools
    · The latest Android platform
    · The latest Android system image for the emulator

    获取Android SDK翻译出来的大概意思如下:

    Android SDK为Android开发提供API库文件以及编译、测试和调试必需的开发工具。
    如果你是新的Android开发者,我们建议下载ADT Bundle来快速开始应用开发。该工具包含基本的Android SDK组件和一个嵌入了ADT的Eclipse IDE.
    只需要下载一个ADT Bundle安装包,它包含了开始开发应用所需的所有组件如下:
    · Eclipse + ADT plugin
    · Android SDK Tools
    · Android Platform-tools
    · The latest Android platform
    · The latest Android system image for the emulator

    由此可知,新工具非常方便,可以省去了之前配置开发环境的时间,方便快速上手开发。
    在http://developer.android.com/sdk/index.html点击 Downloadthe SDK ADT Bundle for Windows,即可开始下载,下面讲讲如何安装使用ADT bundle及需要注意的问题。

    第二步:
    Setting Up the ADTBundle

    Install the SDK andEclipse IDE

    1. Unpack the ZIP file (named adt-bundle-<os_platform>.zip) and save it to an appropriate location, such as a"Development" directory in your home directory.
    2. Open the adt-bundle-<os_platform>/eclipse/ directory and launch eclipse.
    That's it! The IDE isalready loaded with the Android Developer Tools plugin and the SDK is ready togo. To start developing, read Building Your FirstApp.
    Caution: Donot move any of the files or directories from the adt-bundle-<os_platform> directory.If you move the eclipse or sdk directory,ADT will not be able to locate the SDK and you'll need to manually update theADT preferences.
    我们发现新的工具非常方便使用,你只需解压下载的zip包,然后保存在一个合适的主目录下即可,例如:D:Android-Developadt-bundle-windows-x86
    然后打开D:Android-Developadt-bundle-windows-x86eclipse下面的eclipse.exe启动eclipse即可,可将eclipse.exe发送到桌面快捷方式。
    需要注意的是不要移动 adt-bundle-<os_platform>目录下的任何文件和目录,不然就需要手动更新ADT。

    现在你可以使用SDK Manager来构建你的第一个Android应用拉!

  • 相关阅读:
    对于高并发短连接造成Cannot assign requested address解决方法
    virtualbox迁移已建虚机存储磁盘方法
    httpd:RSA certificate configured for SERVER does NOT include an ID which matches the server name
    解决服务不断重启挂掉问题
    tbb静态库编译
    su和su
    ubuntu18.04 mariadb start失败
    如何修复“sshd error: could not load host key”
    [LeetCode]Gas Station
    Java多态的一些陷阱
  • 原文地址:https://www.cnblogs.com/xuybin/p/3221204.html
Copyright © 2011-2022 走看看