Android開源項目第四篇——開發及測試工具篇

Android開源項目第四篇——開發及測試工具篇

本文爲那些不錯的Android開源項目第四篇——開發工具篇,主要介紹Android開發工具和測試工具相關的開源項目html

 

最新內容請訪問AndroidOpenProject@Github ,歡迎Star和Fork。
對你有幫助的話,去知乎點個贊讓更多人瞭解:Android 優秀開源項目及特效推薦android

 

Android開源項目系列彙總已完成,包括:git

Android開源項目第一篇——個性化控件(View)篇
Android開源項目第二篇——工具庫篇
Android開源項目第三篇——優秀項目篇
Android開源項目第四篇——開發及測試工具篇
Android開源項目第五篇——優秀我的和團體篇github

 

一、Buck
facebook開源的Android編譯工具,效率是ant的兩倍。主要優勢在於:
(1) 加快編譯速度,經過並行利用多核cpu和跟蹤不變資源減小增量編譯時間實現
(2) 能夠在編譯系統中生成編譯規則而無須另外的系統生成編譯規則文件
(3) 編譯同時可生成單元測試結果
(4) 既可用於IDE編譯也可用於持續集成編譯
(5) facebook持續優化中
項目地址:https://github.com/facebook/buckweb

 

二、Android Maven Plugin
Android Maven插件,可用於對android三方依賴進行管理。在J2EE開發中,maven是很是成熟的依賴庫管理工具,可統一管理依賴庫。
項目地址:https://github.com/jayway/maven-android-pluginchrome

 

三、Spoon
可用於android不一樣機型設備自動化測試,能將應用apk和測試apk運行在不一樣機器上並生成相應測試報告。
項目地址:https://github.com/square/spoonapp

 

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

 

五、SelectorChapek for Android
Android Studio插件,可根據固定文件名格式資源自動生成drawable selectors xml文件。
項目地址:https://github.com/inmite/android-selector-chapekide

 

六、Android Resource Navigator
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函數

 

七、Android Action Bar Style Generator
Android ActionBar樣式生成器,可在線選擇ActionBar樣式自動生成所須要的圖片資源及xml文件
項目地址:https://github.com/jgilfelt/android-actionbarstylegenerator
在線演示:http://jgilfelt.github.io/android-actionbarstylegenerator/

 

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

 

九、GridWichterle for Android
在整個系統上顯示一個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相差甚遠,不過偶爾可用來做爲佈局查看工具。

 

十、渠道打包工具

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

 

十一、Catlog

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

 

十二、PID Cat

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

 

1三、Hugo

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

相關文章
相關標籤/搜索