如何在eclipse中禁用层次结构查看器

时间:2012-01-30 20:04:56

标签: android eclipse android-emulator

伙计我碰巧遇到了eclipse中的这个新功能,我可以在eclipse中运行层次结构查看器但是,我无法使其工作。

我在网上搜索但没有写任何内容,除了如何从tools目录运行它。所以无论如何我正在伸展运气,最后当我运行应用程序时,现在在将应用程序安装到模拟器之前,它尝试将层次结构查看器连接到模拟器,最终它无法连接。(它显示在控制台中)< / p>

现在我的问题是模拟器从一开始就非常糟糕,启动时间到目前为止我已经不知所措了,但是现在它需要更多时间才能启动。我想我已经搞砸了一个设置,试图让层次结构查看器在eclipse中工作,但是,只是记不住了。

我在eclipse的控制台窗口中得到了所有这些

[2012-01-31 01:08:57 - hierarchyviewer]Unable to get view server version from device emulator-5554
[2012-01-31 01:08:57 - hierarchyviewer]Unable to get view server protocol version from device emulator-5554
[2012-01-31 01:08:57 - ddms]execute: running service call window 1 i32 4939
[2012-01-31 01:08:57 - ddms]execute 'echo $EXTERNAL_STORAGE' on 'emulator-5554' : EOF hit. Read: -1
[2012-01-31 01:08:57 - ddms]execute: returning
[2012-01-31 01:08:57 - ddms]execute: running echo $ANDROID_DATA
[2012-01-31 01:08:57 - ddms]execute 'echo $ANDROID_DATA' on 'emulator-5554' : EOF hit. Read: -1
[2012-01-31 01:08:57 - ddms]execute: returning
[2012-01-31 01:08:57 - ddms]execute: running echo $ANDROID_ROOT
[2012-01-31 01:08:57 - ddms]execute 'service call window 1 i32 4939' on 'emulator-5554' : EOF hit. Read: -1
[2012-01-31 01:08:57 - ddms]execute: returning
[2012-01-31 01:08:57 - ddms]execute 'echo $ANDROID_ROOT' on 'emulator-5554' : EOF hit. Read: -1
[2012-01-31 01:08:57 - ddms]execute: returning
[2012-01-31 01:08:59 - ddms]execute: running service call window 1 i32 4939
[2012-01-31 01:08:59 - ddms]execute 'service call window 1 i32 4939' on 'emulator-5554' : EOF hit. Read: -1
[2012-01-31 01:08:59 - ddms]execute: returning

[2012-01-31 01:08:59 - hierarchyviewer]无法调试设备模拟器-5554

1 个答案:

答案 0 :(得分:1)

我通过重新启动Windows或更具体的eclipse来解决问题。