为什么点击其中的节点,本应该显示内容(比如截图或文字)但是显示的是一个空的气泡,这是肿么了?

打开虚拟机,然后从windows中选择显示的activity,然后显示一个树

http://img3.mukewang.com/642fd06b00011e4c04460702.jpg

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么?

http://img1.mukewang.com/642fd08f0001391c08101194.jpg

慕桂英546537
浏览 110回答 1
1回答

慕勒3428872

建议你用sdk自动的tools, 先打开模拟器 or android手机,再打开 **\tools\hierarchyviewer工具我试了一下,一切正常。你的问题可能是eclipse环境or plugin的问题导致的。
打开App,查看更多内容
随时随地看视频慕课网APP