打開虛擬機,然后從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么?
1 回答

慕勒3428872
TA貢獻1848條經驗 獲得超6個贊
建議你用sdk自動的tools, 先打開模擬器 or android手機,
再打開 **\tools\hierarchyviewer工具
我試了一下,一切正常。
你的問題可能是eclipse環境or plugin的問題導致的。
- 1 回答
- 0 關注
- 194 瀏覽
添加回答
舉報
0/150
提交
取消