石建 | Fat Mind

          搭建android開發環境

          請參見官網:http://androidappdocs.appspot.com/sdk/installing.html

          1. preparing your development computer

            檢查系統環境是否滿足要求(基本忽略)

          2.下載sdk

            path 增加 %android_home%/tools

          3. eclipse開發環境

            eclipse3.5在線安裝地址 :https://dl-ssl.google.com/android/eclipse/
          4. 安裝 android平臺和其它組件

            之前下載的包,僅是一個工具包。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(請注意選擇的版本要一致)

            Android USB驅動只有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手機上,進行程序的調試、運行等。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/ 已驗證:<sdk-home>/platforms/android-8,建立source文件夾,將源碼放入。重啟eclipse,即可看到源碼。




          今天發現,之前的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、選擇對應版本api、usb driver(請務必記住:選擇使用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 閱讀(232) 評論(0)  編輯  收藏 所屬分類: android


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           

          導航

          <2010年10月>
          262728293012
          3456789
          10111213141516
          17181920212223
          24252627282930
          31123456

          統計

          常用鏈接

          留言簿

          隨筆分類

          隨筆檔案

          搜索

          最新評論

          What 、How、Why,從細節中尋找不斷的成長點
          主站蜘蛛池模板: 思南县| 泰和县| 镇宁| 舞阳县| 万源市| 广河县| 逊克县| 雷山县| 故城县| 龙海市| 肇源县| 泗洪县| 增城市| 渝中区| 澎湖县| 河北省| 大兴区| 阿勒泰市| 新疆| 阿巴嘎旗| 宁德市| 枣强县| 梓潼县| 海丰县| 洞口县| 石景山区| 水富县| 荣成市| 台湾省| 开平市| 巴彦淖尔市| 乌海市| 治县。| 杭锦后旗| 莒南县| 贡觉县| 东乡| 潞城市| 青冈县| 睢宁县| 海宁市|