Android教程網
  1. 首頁
  2. Android 技術
  3. Android 手機
  4. Android 系統教程
  5. Android 游戲

Eclipse 導入 Android Sample 範例專案教學

編輯:關於 Android 程式設計

在 Eclipse 中載入 Android Sample 專案,可以作為學習官方 API 與 UI 模式的起點。操作重點如下:

  1. 開啟 New,選擇 Android Sample Project。
  2. 選擇要使用的 SDK 版本。
  3. 從清單中挑選範例專案後按 Finish。

如果清單中沒有可選專案,通常代表尚未下載對應版本的 Sample。此時可透過 Android SDK Manager 補下載。

找到 Sample 所在目錄後,仍建議透過 Eclipse 的專案匯入流程建立,而不是直接把資料夾當成一般專案使用,以免出現專案識別或建置問題。

  1. 上一篇文章:
  2. 下一篇文章:
Copyright © Android教程網 All Rights Reserved