Android Device Monitor
Android Device Monitor 是 Android Studio 底下的一套工具,提供 Android 開發者一些基本功能,例如 logcat、文件管理(push/pull/delete)、系統狀態檢視(CPU與記憶體使用狀況)、與螢幕截圖等等。
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
開啟 Android Device Monitor
在 3.0 以前的 Android Studio 版本可以從工具列中開啟 Android Device Monitor,如下圖。
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
至於較新的版本,則要找到 android-sdk 資料夾下的 tools 資料夾,裡面有個 monitor 檔案,可以對它設定捷徑,雙擊即可開啟 Android Device Monitor 視窗。
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
ps. 若是 tools 資料夾下沒看到 monitor 檔案,也可以再往 lib 資料夾下尋找。
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Devices
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
-
選擇裝置
Devices 視窗可以看到目前電腦連接的裝置,點選裝置即可在其它視窗顯示該裝置的相關訊息。
-
螢幕節圖
直接幫你擷取裝置的螢幕,不用再從裝置外接鍵盤使用 print screen 的方式截圖,介面如下。
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
LogCat
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
-
Logcat 訊息
Moniter 也提供常駐的 Logcat 訊息,讓你可以隨時查看 log。
-
Log Filters
也可以使用自定義的 Filter 來過濾 Logcat 訊息,針對特定訊息查看 log 更方便。
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
File Explorer
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
- 文件管理
文件管理視窗可以檢視裝置內的檔案。
- 推拉增減按鈕
也可以透過按鈕來對裝置 push 或 pull 檔案,當然也能刪除檔案或新增資料夾。
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
系統資訊視窗可以快速查看裝置的 CPU 與 Memory 狀態。
這邊只介紹了自比較常用的幾個部分,其他功能像是 Dump View Hierarchy、Threads、Heap 等功能也都可以玩玩看。
新版的 Android Studio 已經將 Monitor 的功能拆散再各處,可以參考官方說明。
我自己到現在還是習慣用舊的 Monitor 啦,尤其常常使用裝置截圖的功能,提供大家參考。