no Pain no Gain no Gavin 博客同步更新至:http://blog.sina.com.cn/deaboway http://blog.csdn.net/deaboway
一、 背景和准备
1. Android 简介
Android 是 Google 于 2007 年 11 月 5 日宣布的基于 Linux 平台的开源手机操
作系统的名称,该平台由操作系统、中间件、用户界面和应用软件组成,号称是
首个为移动终端打造的真正开放和完整的移动软件。可以把它简单理解成 Linux
上套了一个 JAVA 的壳。
Android 的平台基本上是免费的,虽然有部份原生链接库会要求费用,但大
部份是免权利金。Android 的程序可以采用 JAVA 开发,因为它的虚拟机(Virtual
Machine) Dalvik,只是它将 JAVA 的 bytecode 转成自己的格式,回避掉需要付
给 SUN 有关 JAVA 的授权费用。因此,Android 开发环境是需要 JDK 的。
2. Android 网络资源
Android的网站是:
http://www.android.com/,目前还可以登陆,比较悲剧
的是:其Partners部分:
http://source.android.com/和Developers部分:
http://developer.android.com/,大陆地区已经无法访问。
Android的系统要求请参考:
http://androidappdocs.appspot.com/sdk/requirements.html
当前最新版本的Android SDK下载器(真正的SDK还是需要另外下载的),小
生是无法直接到官网
http://developer.android.com/sdk/index.html 下载的,于是
另外找了一个地址
http://androidappdocs.appspot.com/sdk/index.html,下载
链接和说明如下:
Android SDK for Windows
android-sdk_r08-windows.zip
http://dl.google.com/android/android-sdk_r08-windows.zip
installer_r08-windows.exe (Recommended)
http://dl.google.com/android/installer_r08-windows.exe
Android SDK for Mac OS X (intel)
android-sdk_r08-mac_86.zip
http://dl.google.com/android/android-sdk_r08-mac_86.zip
Android SDK for Linux (i386)
android-sdk_r08-linux_86.tgz
http://dl.google.com/android/android-sdk_r08-linux_86.tgz
Here's an overview of the steps you must follow to set up the Android SDK:
1. Prepare your development computer and ensure it meets the system
requirements.
2. Install the SDK starter package from the table above. (If you're on Windows,
download the installer for help with the initial setup.)
3. Install the ADT Plugin for Eclipse (if you'll be developing in Eclipse).
4. Add Android platforms and other components to your SDK.
5. Explore the contents of the Android SDK (optional).
1
评论1