层次是不工作的我的设备 [英] hierarchy is not working for my device

查看:97
本文介绍了层次是不工作的我的设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在终端上运行的层次结构。它可以显示它的接口,但是不能连接到我device.And它可以连接到虚拟仿真器。它提醒我在这样的终端,

when I run hierarchy in terminal. it can show the interface of it, but can not connect to my device.And it can connect to virtual emulator. It remind me in terminal like that,

  1. 在亚洲开发银行拒绝着命令的设备172.18 ......未知的主机服务
  2. 在缺少前锋端口172.18 .....
  3. 无法从设备172.18获得查看服务器protocal版本....

如何能显示我的设备我的视图结构层次结构中的观众。谁能帮助我?或 谁知道在哪里可以找到层次的知识。在此先感谢。

How can it show my view structure of my device in the hierarchy viewer. Can anyone help me ?or anyone who knows where to find the knowledge of the hierarchy. thanks in advance.

推荐答案

HierarchyViewer不会对生产工作建立出于安全原因。我写了一个API,让您使用HierarchyViewer在任何设备上使用您的应用程序: https://github.com/romainguy/ViewServer

HierarchyViewer doesn't work on production builds for security reasons. I wrote an API that lets you use HierarchyViewer on any device with your app: https://github.com/romainguy/ViewServer

这篇关于层次是不工作的我的设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆