1 / 70

Android 開發環境建置與設定

Android 智慧型手機程式設計. Android 開發環境建置與設定. 建國科技大學 資管系 饒瑞佶 2012/4 V1 2012/8 V2 2013/2 V3 2014/9 V4. 提醒 …. 如果您在安裝過程中看到的畫面與下面內容不同,請不要慌張 Android 是一個改版很快的系統,所以隨時有新的改版與更新 所以不確定大家那時後會進行安裝或更新,下面內容只是某個時期的歷史 不過歷史可以為殷鑑 … 大致脈絡還是沒有錯的!. 講義與書 參考參考!. 因為你在讀的時候,可能已經過時了!. 必要工具.

Download Presentation

Android 開發環境建置與設定

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Android智慧型手機程式設計 Android開發環境建置與設定 建國科技大學 資管系 饒瑞佶 2012/4 V1 2012/8 V2 2013/2 V3 2014/9 V4

  2. 提醒… • 如果您在安裝過程中看到的畫面與下面內容不同,請不要慌張 • Android是一個改版很快的系統,所以隨時有新的改版與更新 • 所以不確定大家那時後會進行安裝或更新,下面內容只是某個時期的歷史 • 不過歷史可以為殷鑑…大致脈絡還是沒有錯的!

  3. 講義與書參考參考! 因為你在讀的時候,可能已經過時了!

  4. 必要工具 • JDK5或JDK6 (JavaRuntime 1.5 above),目前應是JDK8 • Eclipse IDE • ADT (Android Development Tools) • Android SDK 這幾個的關係是?

  5. 首先安裝JDK http://java.sun.com

  6. 確定一下 • 開始  執行  cmd • 輸入:java -version

  7. JAVA SE

  8. 選Windows base

  9. 版本隨時會變動,建議下載最新版本即可

  10. jdk安裝過程

  11. jdk安裝過程

  12. jdk安裝過程

  13. jdk安裝過程

  14. jdk安裝過程

  15. jdk安裝過程

  16. jdk安裝過程

  17. jdk安裝過程

  18. 接著安裝Eclipse ADT http://developer.android.com/sdk/index.html

  19. 最後確認一次java版本需要 >1.5

  20. http://developer.android.com/sdk/index.html

  21. 下載後解壓縮

  22. Eclipse:IDE開發環境 SDK:Google提供的Android開發工具與函式庫 SDK Manager:用來更新與管理SDK

  23. 啟動Eclipse 執行Eclipse目錄中的Eclipse.exe

  24. 設定Android SDK的位置

  25. Browse選擇android_sdk所在目錄

  26. SDK Manager 這裡決定了sdk目錄中的內容

  27. NOWALL DONE! 未來 把整個Eclipse目錄copy到另一台就可以使用, 但是要先確定目地電腦的JDK版本

  28. JDK • Eclipse IDE • ADT • Android SDK 這幾個的關係是? 剪不斷,理還亂!

  29. Eclipse + ADT+Android SDK JDK

  30. 開啟既有的Project Android SDK提供的範例

  31. 準備好samples(Android SDK內) • 準備好AVD 開啟Project前

  32. 如果找不到samples時 請更新SDK

  33. 更新SDK與Samples

  34. 至少要安裝一個Platform 這裡選擇加裝Android 2.2

  35. SDK更新後要重開adb

  36. 就是模擬器環境 Create an AVD (Android Virtual Device )

  37. Create an AVD (Android Virtual Device ) 已經被建立的AVD

  38. Create an AVD (Android Virtual Device )

  39. AVD名稱 對應平台

  40. 可以開啟Sample Project了

  41. FileNewProject

  42. 專案 開發內容區 其他功能視窗 訊息視窗

  43. 需要的視窗可以在這找到Window  Show View

  44. 將專案從Eclipse移除但保留原始檔案

  45. 如果勾選Delete project contents on disk將刪除所有檔案

More Related