真机:hierarchyviewer]Unable to get view server version from device ?

eclipse报错:

[2014-04-12 22:56:30 - hierarchyviewer]Unable to get view server version from device ?

[2014-04-12 22:56:30 - hierarchyviewer]Unable to get view server protocol version from device ?

[2014-04-12 22:56:30 - ViewServerDevice]Unable to debug device: huawei-huawei_c8812-?

解决方法(以华为c8812为例):

1、找一个开发板的Android固件,我选择的是百度云rom

该rom下载地址:http://pan.baidu.com/s/1eQIII58

2、用百度云刷机工具将rom写入手机(注意:写入之前请备份数据。)

3、等待一会,手机正常开机后就可以了

4、用adb shell service call window  3来查看

若返回值是:Result: Parcel(00000000 00000000 '........')" 说明View Server处于关闭状态

若返回值是:Result: Parcel(00000000 00000001 '........')" 说明View Server处于开启状态

5、安装busybox应用

6、设置>开发人员选项>离线日志勾选允许输出离线日志如图

真机:hierarchyviewer]Unable to get view server version from device ?_第1张图片

你可能感兴趣的:(Andriod)