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

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

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

    posts - 43,comments - 75,trackbacks - 0

     Google 發(fā)布了android 其實(shí)就是Gphone的開發(fā)環(huán)境
     現(xiàn)在我們就開始進(jìn)行安裝及配置開發(fā)環(huán)境,并且開發(fā)第一個(gè)HelloWorld
    第一步: 安裝sdk 首先去 http://code.google.com/android/download.html下載 sdk
    第二步: 解壓縮 下載的 sdk 到你指定的目錄, 我是解壓縮到 "d:\" 下
             這時(shí)你在d盤下看到 "D:\android_sdk_windows_m3-rc20a"
    第三步: 配置環(huán)境: 點(diǎn)擊"我的電腦"右鍵 --> "屬性" --> "高級(jí)" -->"環(huán)境變量" -->
             "系統(tǒng)變量" --> 在"path"中增加 "D:\android_sdk_windows_m3-rc20a\tools "
             ok , 在命令行中輸入 " aapt" 能夠看見 :
            
             Android Asset Packaging Tool

        Usage:
         aapt l[ist] [-v] file.{zip,jar,apk}
           List contents of Zip-compatible archive.
        
         aapt p[ackage] [-c][-f][-g][-s][-u][-m][-v][-x][-M AndroidManifest.xml] \
                [-l locale1[,locale2,...]] [-d device1[,device2,...]] \
                [-I base-package [-I base-package ...]] \
                [-A asset-source-dir] [-P public-definitions-file] \
                [-S resource-source-dir] \
                file.{zip,jar,apk} [raw-files-dir [raw-files-dir] ...]
        
           Create or update the named Zip-compatible archive.  All files in raw-files-di
        r
           will be added to the archive, as will selected directories in asset-root-dir
           (which should contain a 'default' directory and some locale-specific
           directories).  The named locales and vendors will be added, all others
           will be excluded.
        
         aapt c[ompile] [-m][-v][-x] [-M AndroidManifest.xml] [-J R-file-dir] \
        
        
         現(xiàn)在環(huán)境配置好了. 
    第四步:下載eclipse插件: 
             打開eclipse  "help"--> "sofware updates" -->find and Install
             選擇: "search for new feature to install " 點(diǎn)擊 "next"
             點(diǎn)擊: New Remote site
             在打開的對(duì)話框中url 中輸入 : https://dl-ssl.google.com/android/eclipse/
             點(diǎn)擊 "ok"
    第五步: 配置eclipse :
        選擇: window -->Preferences 選擇--> android
            sdk location 中選擇你解壓縮的 android sdk 的目錄
            點(diǎn)擊: ok
    第六步: 開發(fā)第一個(gè)HelloWorld

    posted on 2007-11-17 12:46 夢(mèng)源 閱讀(6879) 評(píng)論(7)  編輯  收藏

    FeedBack:
    # re: Google android 開發(fā),配置,HelloWorld(演示)
    2007-11-17 13:15 | 千里冰封
    還是怕和標(biāo)準(zhǔn)的JAVA不兼容  回復(fù)  更多評(píng)論
      
    # re: Google android 開發(fā),配置,HelloWorld(演示)
    2007-11-17 14:00 | HiMaigc!
    這幾天正打算玩,不過不玩eclipse的,玩Jcreator,因?yàn)橛X得eclipse會(huì)成為讓我們產(chǎn)生嚴(yán)重依賴的拐杖。  回復(fù)  更多評(píng)論
      
    # re: Google android 開發(fā),配置,HelloWorld(演示)
    2007-11-17 14:52 | Matthew Chen
    android是指手機(jī)操作系統(tǒng)吧,當(dāng)然系統(tǒng)里包括了google的java vm,核心api等,獨(dú)立的實(shí)現(xiàn),所以應(yīng)該把這里的.dex當(dāng)作gphone的專有語言程序了,它不是走跨平臺(tái)的路線,只想自己用把。  回復(fù)  更多評(píng)論
      
    # re: Google android 開發(fā),配置,HelloWorld(演示)
    2007-11-18 01:16 | 快譯站

    表示關(guān)注。。。

    5D壁紙 http://5dwall.cn 想看壁紙,新鮮,經(jīng)典,精美,你想的到的壁紙都有!  回復(fù)  更多評(píng)論
      
    # re: Google android 開發(fā),配置,HelloWorld(演示)
    # re: Google android 開發(fā),配置,HelloWorld(演示)
    2007-11-21 18:21 | CoderDream
    Installing the ADT Plugin for Eclipse

    If you will be using the Eclipse IDE as your environment for developing Android applications, you can install a custom plugin called Android Development Tools (ADT), which adds integrated support for Android projects and tools. The ADT plugin includes a variety of powerful extensions that make creating, running, and debugging Android applications faster and easier.

    If you will not be using the Eclipse IDE, you do not need to download or install the ADT plugin.

    To download and install the ADT plugin, set up an Eclipse remote update site as described in the steps below.
    Start Eclipse, then select Help > Software Updates > Find and Install....
    In the dialog that appears, select Search for new features to install and press Next.
    Press New Remote Site.
    In the resulting dialog box, enter a name for the remote site (e.g. Android Plugin) and enter this as its URL: https://dl-ssl.google.com/android/eclipse/. Press OK.
    You should now see the new site added to the search list (and checked). Press Finish.
    In the subsequent Search Results dialog box, select the checkbox for Android Plugin > Eclipse Integration > Android Development Tools and press Next.
    Read the license agreement and then select Accept terms of the license agreement, if appropriate. Press Next.
    Press Finish.
    The ADT plugin is not signed; you can accept the installation anyway by pressing Install All.
    Restart Eclipse.
    After restart, update your Eclipse preferences to point to the SDK root directory ($SDK_ROOT):
    Select Window > Preferences... to open the Preferences panel. (Mac OS X: Eclipse > Preferences)
    Select Android from the left panel.
    For the SDK Location in the main panel, press Browse... and find the SDK root directory.
    Press Apply, then OK  回復(fù)  更多評(píng)論
      
    # re: Google android 開發(fā),配置,HelloWorld(演示)

    只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


    網(wǎng)站導(dǎo)航:
     
    主站蜘蛛池模板: 成年女人毛片免费播放人| 黄色永久免费网站| 亚洲精品偷拍视频免费观看| 亚洲国产精品无码中文lv| 美女内射毛片在线看免费人动物| 无码色偷偷亚洲国内自拍| 色窝窝免费一区二区三区| 亚洲国产成人久久99精品| av无码国产在线看免费网站| 亚洲欧洲日产国产最新| 国产麻豆视频免费观看 | 亚洲va无码专区国产乱码| 女人隐私秘视频黄www免费| 亚洲va久久久噜噜噜久久天堂| 中文字幕无码日韩专区免费| 亚洲精品无码不卡| 无码一区二区三区免费视频| 亚洲国产精品精华液| 亚洲精品国产高清不卡在线| 日韩精品无码免费专区午夜| 久久久久亚洲av无码专区喷水| free哆啪啪免费永久| 在线综合亚洲欧洲综合网站| 亚洲AV网站在线观看| 伊人免费在线观看高清版| 香蕉蕉亚亚洲aav综合| 国产1024精品视频专区免费 | 亚洲国色天香视频| 好吊妞视频免费视频| 日韩大片在线永久免费观看网站| 亚洲成a人片在线观看日本| 99久久久国产精品免费无卡顿| 亚洲αⅴ无码乱码在线观看性色| 久久国产成人精品国产成人亚洲| 免费91麻豆精品国产自产在线观看 | 在线天堂免费观看.WWW| 男人扒开添女人下部免费视频| 久久青青草原亚洲AV无码麻豆| 成人片黄网站A毛片免费| 一个人看的www在线免费视频 | 亚洲va无码专区国产乱码|