我正在使用moto-g4 plus,我的设备在ddms中被检测到,但它没有在层次结构查看器中显示应用程序。
我也跟着
的步骤https://developer.android.com/studio/profile/hierarchy-viewer-setup.html#hvproto-variable
设备上的Android版本 - 6.0
控制台日志:
[2016-12-06 16:05:31 - hierarchyviewer]Unable to get view server protocol version from device ZY223FMT2T
[2016-12-06 16:05:32 - ViewServerDevice]Unable to debug device: motorola-moto_g__4_-ZY223FMT2T
[2016-12-06 16:05:33 - hierarchyviewer]Missing forwarded port for ZY223FMT2T
[2016-12-06 16:05:33 - hierarchyviewer]Unable to get the focused window from device ZY223FMT2T