hierarchyview unable to debug device

用hierarchyview抓不到图,提示Unable to get view server version from device 012345,

Unable to debug device 0123456789ABCDEF;

原因是:

For security reasons HierarchyViewer does NOT work on production builds. It works only with userdebug and engineering builds (this includes the emulator.)

You will need to unlock bootloader and root the device. Running hierarchyViewer along totally worth the time.

你可能感兴趣的:(Android系统,security,server)