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

Eclipse 中讓一個專案引用另一個專案的方法

編輯:關於 Android 開發

Eclipse 中讓一個專案引用另一個專案的方法


有時候我們的一個專案會依賴於另一個專案的類庫與資源。例如下圖中,專案 pds-prrs 依賴於 pds-fw 與 pds-srv 中的類和套件。

想要在 pds-prrs 中引入另外兩個專案的內容,操作步驟如下:

右鍵點擊 pds-prrs → build path → configure build path → 切換到 project 標籤 → 點擊 add,將另外兩個專案加入即可。

效果如下圖所示:

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