Android的hierarchyviewer无法加载窗口数据加载、窗口、数据、Android

2023-09-05 00:16:16 作者:星星熬成糖浆

我试图用hierarchyviewer工具来查看我的Andr​​oid应用程序的布局。

I'm trying to use the hierarchyviewer tool to see the layout of my Android app.

我可以运行hierarchyviewer,并看到模拟器中运行。我点击并尝试加载视图层次结构,并得到错误无法加载窗口数据的设备模拟器-5554的窗口。

I can run hierarchyviewer, and see the emulator running. I click on "" and try to load the view hierarchy and get the error "Unable to load window data for window on device emulator-5554".

我在OSX(10.6.5)使用Eclipse 3.5.2开发。我通过目前Eclipse调试,在自定义大小的仿真器。我已经更新了Android工具到最新版本(版本8)在Eclipse中AVD和SDK管理器。我还没有找到搜索的错误消息的所有线程,或一般的观众层次结构问题。

I'm developing on OSX (10.6.5) using Eclipse 3.5.2. I'm currently debugging through Eclipse, in a custom-sized emulator. I have updated the Android tools to the latest (revision 8) with the AVD and SDK manager in Eclipse. I haven't found any threads searching for the error message, or for general heirarchy viewer problems.

有没有人有一个想法如何获取该工具的工作?

Does anyone have an idea how to get the tool working?

干杯

推荐答案

我发现,当应用程序正在调试应用程序的视图层级不会加载。您是否尝试过解聘调试器和刚刚开始的启动图标的应用程序?

I found an application's view hierarchy does not load when the the app is under debug. Have you tried dismissing the debugger and just starting the app from the launch icon?