<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    MDA/MDD/TDD/DDD/DDDDDDD
    posts - 536, comments - 111, trackbacks - 0, articles - 0
      BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

    android筆記

    Posted on 2010-02-10 01:55 leekiang 閱讀(1011) 評論(0)  編輯  收藏 所屬分類: android
    環境為eclipse3.6.1,jdk1.6
    從android2.0開始,Android SDK被分為兩部分:SDK啟動程序軟件包和SDK組件。
    1,下載SDK啟動程序軟件包
    ?? 從http://androidappdocs.appspot.com/sdk/index.html下載android-sdk_r08-windows.zip,解壓到E:\android-sdk-windows,然后把"E:\android-sdk-windows\tools;"加到環境變量的path里。
    2,下載SDK組件
    ?? 可以在線安裝(點擊SDK Manager.exe),也可以手動安裝。
    ?? 下載android-2.1_r01-windows.zip,解壓到E:\android-sdk-windows\platforms\android-2.1_r01-windows,這樣就手動安裝了android-2.1_r01。
    3,安裝GEF,eclipse->Help->install new software->add按鈕,輸入名字gef,輸入地址http://download.eclipse.org/tools/gef/updates/releases,點擊ok,然后選擇與當前eclipse版本相適應的gef,我把二級目錄全部選中并安裝了。
    ?? 如果不安裝GET,在接下來的第4步安裝時會報“ requires 'org.eclipse.gef 0.0.0' but it could not be found”錯誤。
    4,安裝ADT。我使用的是離線安裝的方式。
    ?? 下載ADT-8.0.1.zip,下載地址為http://androidappdocs.appspot.com。
    ?? 安裝步驟:eclipse->Help->install new software->add->Archive選擇ADT-8.0.1.zip->OK
    5, 使用SDK Manager.exe在線安裝“Android SDK Platform-tools, revision 1”。不裝在使用ADT時會報“SDK Platform Tools components is missing”。
    6,在eclipse->Window->Preferences->Android中配置SDK路徑為E:\android-sdk-windows
    7,安裝AVD(Android Virtual Devices)
    ?? 打開"SDK和AVD管理器",點擊Virtual devices,然后在右邊點擊new按鈕,輸入名字,選擇一個Target,然后填寫SD Card的大小為64Mib,其他均為默認。
    8,把SDK的tools和platform-tools目錄都要加到PATH
    9,新建一個android項目,注意把Min SDK Version設為7。項目建好后,可右擊項目名然后點擊Run As->Android Application,第一次運行需等待幾分鐘。


    注:
    1,E:\android-sdk-windows下的SDK Manager.exe可打開"SDK和AVD管理器",eclipse->window下拉菜單里的鏈接也可以打開,但比前者要少Settings設置項。
    2,If you are developing in Eclipse with ADT, note that SDK Tools r8 is designed for use with ADT 8.0.0 and later. After installing SDK Tools r8, we highly recommend updating your ADT Plugin to 8.0.0.
    Also note that SDK Tools r8 requires a new SDK component called Platform-tools. The new Platform-tools component lets all SDK platforms (Android 2.1, Android 2.2, and so on) use the same (latest) version of build tools such as adb, aapt, aidl, and dx. To download the Platform-tools component, use the Android SDK Manager, as described in Adding SDK Components
    Upgrading from SDK Tools r7:
    If you are upgrading to SDK Tools r8 from an earlier version, note that the the default installed location for the adb tool has changed from <SDK>/tools/adb to <SDK>/platform-tools/adb. This means that you should add the new location to your PATH and modify any custom build scripts to reference the new location. Copying the adb executable from the new location to the old is not recommended, since subsequent updates to the SDK Tools will delete the file.
    3,感覺自己的安裝步驟有點亂,下次改一下:先裝SDK啟動程序軟件包即SDK tools,通過SDK tools安裝android-2.1_r01和Android SDK Platform-tools,設置環境變量,然后才安裝ADT。
    4,權威的安裝步驟見http://androidappdocs.appspot.com/sdk/installing.html
    5, 由于模擬器每次啟動都比較慢,我們可以在打開模擬器之后不要再關閉,這樣每次運行Android應用 ADT就會自動使用這個模擬器,這樣就不用每次都啟動了

    安裝相關:
    http://www.cnitblog.com/gyn/archive/2008/03/17/41038.html
    http://emck.avaw.com/?p=62
    http://shizukyo.javaeye.com/blog/254124
    http://www.hiapk.com/bbs/thread-123617-1-1.html
    http://www.eoeandroid.com/thread-14174-1-1.html
    http://zhengtao620.blog.163.com/blog/static/1621465472010105111530403/
    http://apps.hi.baidu.com/share/detail/15798968


    ? 在Google Android平臺上運行Berkeley DB Java Edition

    DroidDraw 是一個基于Java Swing的Android界面設計器,我們可以通過它來生成復雜的 Android Layout XML文件


    主站蜘蛛池模板: 免费国产综合视频在线看| 91老湿机福利免费体验| 成人A级毛片免费观看AV网站| 亚洲精品线在线观看| 国内少妇偷人精品视频免费| 亚洲午夜久久久久久久久电影网 | 亚洲精品中文字幕乱码影院| 亚洲精品免费观看| 久久精品国产亚洲av水果派| 特级精品毛片免费观看| 91精品国产亚洲爽啪在线影院 | 亚洲一级大黄大色毛片| 69式互添免费视频| 日韩亚洲国产高清免费视频| 成人看的午夜免费毛片| 亚洲码欧美码一区二区三区| 国产精品免费视频播放器| 人人爽人人爽人人片A免费| 美腿丝袜亚洲综合| 久久成人免费大片| 免费人成毛片动漫在线播放| 亚洲成AV人片在线观看无码| 久久精品毛片免费观看| 亚洲精品第一综合99久久| 日本免费观看网站| 一级做a爰片久久毛片免费看| 久久久久亚洲精品成人网小说 | 亚洲最大福利视频| 免费国产在线观看不卡| 久久精品成人免费观看97| 精品亚洲A∨无码一区二区三区| 久久久久国产精品免费免费搜索| 人人狠狠综合久久亚洲| 18禁网站免费无遮挡无码中文| 精品国产日韩久久亚洲| 亚洲A∨精品一区二区三区| 久久午夜无码免费| 亚洲精品无码久久久久YW| 亚洲啪啪综合AV一区| 1000部拍拍拍18勿入免费视频下载| 亚洲精品宾馆在线精品酒店|