搭建android開發(fā)環(huán)境
請(qǐng)參見官網(wǎng):http://androidappdocs.appspot.com/sdk/installing.html
1. preparing your development computer
檢查系統(tǒng)環(huán)境是否滿足要求(基本忽略)
2.下載sdk
path 增加 %android_home%/tools
3. eclipse開發(fā)環(huán)境
eclipse3.5在線安裝地址 :https://dl-ssl.google.com/android/eclipse/
4. 安裝 android平臺(tái)和其它組件
之前下載的包,僅是一個(gè)工具包。The starter package is not a full development environment — it includes only the core SDK Tools, which you can use to download the rest of the SDK components.
我的選擇 :android platform、document、samples、google api、martket lience(請(qǐng)注意選擇的版本要一致)
Android USB驅(qū)動(dòng)只有Windows才需要安裝,作用:Contains driver files that you can install on your Windows computer, so that you can run and debug your applications on an actual device. 可以直接在你的android手機(jī)上,進(jìn)行程序的調(diào)試、運(yùn)行等。linux、mac是不需要安裝。
5. hello world
http://developer.android.com/training/basics/firstapp/index.html
6. eclipse查看android源碼
http://log4think.com/browsing-android-source-in-eclipse/ 已驗(yàn)證:<sdk-home>/platforms/android-8,建立source文件夾,將源碼放入。重啟eclipse,即可看到源碼。
今天發(fā)現(xiàn),之前的url也不能訪問;安裝方式也不同,重新整理。
1. 安裝sdk
http://developer.android.com/sdk/installing/index.html
下載sdk(windows下竟然是exe)
It includes only the core SDK tools, which you can use to download the rest of the SDK packages, using the Android SDK Manager.
To develop an Android app, you also need to download at least one Android platform and the latest SDK Platform-tools。
選擇其它組件:tools、選擇對(duì)應(yīng)版本api、usb driver(請(qǐng)務(wù)必記住:選擇使用http,而不是https,tools->options)
2.安裝eclipse adt plugin
http://developer.android.com/sdk/installing/installing-adt.html
select the checkbox next to Developer Tools and click Next.
config the adt plugin.
1. preparing your development computer
檢查系統(tǒng)環(huán)境是否滿足要求(基本忽略)
2.下載sdk
path 增加 %android_home%/tools
3. eclipse開發(fā)環(huán)境
eclipse3.5在線安裝地址 :https://dl-ssl.google.com/android/eclipse/
4. 安裝 android平臺(tái)和其它組件
之前下載的包,僅是一個(gè)工具包。The starter package is not a full development environment — it includes only the core SDK Tools, which you can use to download the rest of the SDK components.
我的選擇 :android platform、document、samples、google api、martket lience(請(qǐng)注意選擇的版本要一致)
Android USB驅(qū)動(dòng)只有Windows才需要安裝,作用:Contains driver files that you can install on your Windows computer, so that you can run and debug your applications on an actual device. 可以直接在你的android手機(jī)上,進(jìn)行程序的調(diào)試、運(yùn)行等。linux、mac是不需要安裝。
5. hello world
http://developer.android.com/training/basics/firstapp/index.html
6. eclipse查看android源碼
http://log4think.com/browsing-android-source-in-eclipse/ 已驗(yàn)證:<sdk-home>/platforms/android-8,建立source文件夾,將源碼放入。重啟eclipse,即可看到源碼。
今天發(fā)現(xiàn),之前的url也不能訪問;安裝方式也不同,重新整理。
1. 安裝sdk
http://developer.android.com/sdk/installing/index.html
下載sdk(windows下竟然是exe)
It includes only the core SDK tools, which you can use to download the rest of the SDK packages, using the Android SDK Manager.
To develop an Android app, you also need to download at least one Android platform and the latest SDK Platform-tools。
選擇其它組件:tools、選擇對(duì)應(yīng)版本api、usb driver(請(qǐng)務(wù)必記住:選擇使用http,而不是https,tools->options)
2.安裝eclipse adt plugin
http://developer.android.com/sdk/installing/installing-adt.html
select the checkbox next to Developer Tools and click Next.
config the adt plugin.
posted on 2010-10-24 20:40 石建 | Fat Mind 閱讀(237) 評(píng)論(0) 編輯 收藏 所屬分類: android