How can I use Layout Inspector for apps installed from Google Play?
问题 I was trying to use LayoutInspector for apps from Google Play. I have a rooted device so when I do "Show all processes", all the running apps developed by me are displayed but not the official ones. 回答1: you ca go to the /Users/.../Library/Android/sdk/tools/monitor and select dump view 回答2: You can use UiAutomator2 Viewer ( a tool from android SDK) { your sdk path} \tools\bin\uiautomatorviewer.bat This tool shows the complete hierarchy and attributes of all elements visible on the device