【Android 系統開發】使用 Source InSight 閱讀 Android 源碼

來源:互聯網
上載者:User

標籤:


1. 安裝 Source Insight


(1) Source Insight 相關資源


安裝相關資源

-- : http://www.sourceinsight.com/down35.html;

-- 註冊碼 : SI3US-361500-17409 .



2. 匯入 Android 源碼


匯入 Android 源碼

-- 建立工程 : Project -> New Project, 輸入一個工程名, 檔案路徑設定為 Android 源碼路徑, 這個一定要注意, 否則會拷貝整個 Android 源碼, 幾十個 G ...


-- 設定工程 : 預設即可;


-- 匯入源碼 : 選擇全部匯入, 前提是電腦配置好, 如果電腦配置一般, 可以一個一個匯入.


-- 選擇匯入子目錄 : 不僅匯入目錄, 子目錄迭代匯入. 


-- 掃描源碼檔案


-- 掃描完成 : 只有 22萬個檔案.


-- 開始匯入





3. 尋找閱讀源碼


尋找閱讀源碼

-- 尋找 IBinder 源碼


-- 尋找 init.rc 源碼





Source Insight 參考快速鍵 : http://www.cnblogs.com/mengdd/p/3506526.html.


【Android 系統開發】使用 Source InSight 閱讀 Android 源碼

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.