android eclipse的hierarchy view中有时候点击一个单元不显示内容是怎么回事?

打开虚拟机,然后从windows中选择显示的activity,然后显示一个树
但是点击其中的节点,本应该显示内容(比如截图或文字)但是显示的是一个空的气泡,这是肿么了?
我的姿势不对么?

空的气泡
console报的是这种错误:Unable to capture data for node android.widget.Button@XXXXXXXXX

另外据GOOGLE文档解释,红色的点是:Red: For this part of the render time, this View is the slowest one in the tree. For example, a red dot for the draw time means that this View takes the most time to draw of all the View objects in the tree.
也就是说,在第一个位置上(measure)只能有一个红色的点,但是我的树里有时候会有多个红色的点在measure位置上,这是因为hierarchy view的BUG么?

多个最慢的measure

阅读 10.5k
1 个回答
新手上路,请多包涵

建议你用sdk自动的tools, 先打开模拟器 or android手机,
再打开 **\tools\hierarchyviewer工具
我试了一下,一切正常。
你的问题可能是eclipse环境or plugin的问题导致的。

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题