Any faster way to dump UI hierarchy?
问题 Right now I'm using uiautomator do dump the UI like this: adb shell uiautomator dump And it works fine except that it takes around 3 seconds to perform it. So I wonder if there is a faster way to do it? Like creating a service that dump the UI or will it take just as long? 回答1: Guess I should answer my own question as I found a better way to do it. I found this project that use uiautomator togheter with a light weight rpc server so you can send commands to the device: https://github.com