高手速成android開源項目【developer篇】

來源:互聯網
上載者:User

    facebook開源的Android編譯工具,效率是ant的兩倍。主要優點在於:
    (1) 加快編譯速度,通過並行利用多核cpu和跟蹤不變資源減少增量編譯時間實現
    (2) 可以在編譯系統中產生編譯規則而無須另外的系統產生編譯規則檔案
    (3) 編譯同時可產生單元測試結果
    (4) 既可用於IDE編譯也可用於持續整合編譯
    (5) facebook持續最佳化中
    項目地址:https://github.com/facebook/buck

  1. Android Maven外掛程式,可用於對android三方依賴進行管理。在J2EE開發中,maven是非常成熟的依賴庫管理工具,可統一管理依賴庫。
    項目地址:https://github.com/jayway/maven-android-plugin

  2. 可用於android不同機型裝置自動化測試,能將應用apk和測試apk運行在不同機器上並產生相應測試報告。
    項目地址:https://github.com/square/spoon

  3. 提供一些列方便的斷言,可用於提高編寫Android自測代碼效率
    項目地址:https://github.com/square/fest-android

  4. Android Studio外掛程式,可根據固定檔案名稱格式資源自動產生drawable selectors xml檔案。
    項目地址:https://github.com/inmite/android-selector-chapek

  5. chrome外掛程式,可以方便的查看github上android源碼工程的styles.xml和themes.xml。主要功能:
    (1) 快速開啟android styles.xml themes.xml
    (2) 方便在資源間跳轉。styles.xml themes.xml檔案中資源連結跳轉,可以方便跳轉到某個資源
    (3) 方便尋找某個style和theme。chrome地址欄輸入arn+tab+搜尋內容斷行符號即可
    (4) 自動下載不同解析度下的drawable
    (5) 通過映射尋找那些不是按照固定命名規則命名的style和theme
    項目地址:https://github.com/jgilfelt/android-resource-navigator
    樣本:https://chrome.google.com/webstore/detail/android-resource-navigato/agoomkionjjbejegcejiefodgbckeebo?hl=en&gl=GB

  6. Android ActionBar樣式產生器,可線上選擇ActionBar樣式自動產生所需要的圖片資源及xml檔案
    項目地址:https://github.com/jgilfelt/android-actionbarstylegenerator
    線上示範:http://jgilfelt.github.io/android-actionbarstylegenerator/

  7. 允許app運行在任何手機上都可以用HierarchyViewer查看
    項目地址:https://github.com/romainguy/ViewServer

  8. 在整個系統上顯示一個grid,用來協助查看應用布局及使得布局更美觀,可設定grid網格大小和顏色,android推薦48dp和8dp,可見 Android Design Guidelines – Metrics and Grids
    項目地址:https://github.com/inmite/android-grid-wichterle
    APK地址:https://play.google.com/store/apps/details?id=eu.inmite.android.gridwichterle
    PS:比起hierarchyviewer相差甚遠,不過偶爾可用來作為布局查看工具。

  9. 允許app運行在任何手機上都可以用HierarchyViewer查看
    項目地址:https://github.com/umeng/umeng-muti-channel-build-tool
    另可參見Google的構建系統Gradle:http://tools.android.com/tech-docs/new-build-system/user-guide

  10. 手機端log查看工具,支援不同顏色顯示、關鍵字過濾、層級過濾、進程id過濾、錄製功能等
    項目地址:https://github.com/nolanlawson/Catlog
    線上示範:https://play.google.com/store/apps/details?id=com.nolanlawson.logcat

  11. 根據package查看logcat日誌
    項目地址:https://github.com/JakeWharton/pidcat

  12. 用於列印函數資訊及執行時間的工具,僅在debug模式生效
    項目地址:https://github.com/JakeWharton/hugo

  13. 在應用下面添加一層用於介面調試,待詳細補充 // TODO
    項目地址:https://github.com/JakeWharton/scalpel

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.