Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while parsing UI hierarchy XML file: null[Ljava.lang.StackTraceElement;@ca36d68 Error while parsing UI hierarchy XML file: null[Ljava.lang.StackTraceElement;@ca36d68 #11

Open
Sanmejie opened this issue Nov 22, 2020 · 2 comments

Comments

@Sanmejie
Copy link

Sanmejie commented Nov 22, 2020

pc

  • win10
    真机
  • 小米android10系统
    java
  • version "1.8.0_271"
    按照文档需求已把LvmamaXmlKit.jar文件推送到临时目录下
    android-sdk\tools\lib 下面仅有一个uiautomatorviewer-26.0.0-dev.jar把这个jar 按照需求替换成库里那个jar。

127|apollo:/data/local/tmp $ pwd
/data/local/tmp
apollo:/data/local/tmp $ ls -l
total 9186
-rw-rw-rw- 1 shell shell 1118 2020-11-22 22:45 LvmamaXmlK
drwxrwxrwx 3 shell shell 3488 2020-11-21 23:38 dalvik-cache
drwxrwxrwx 5 shell shell 3488 2020-11-14 17:47 perfd

打开android-sdk\tools\bin\uiautomatorviewer.bat 抓取xml时出现
“Error while parsing UI hierarchy XML file: null[Ljava.lang.StackTraceElement;@2d47b33
Error while parsing UI hierarchy XML file: null[Ljava.lang.StackTraceElement;@2d47b33

dos窗口
文件加载异常:
C:\Users\ADMINI~1\AppData\Local\Temp\uiautomatorviewer_7276255349737423856\dump_5897836361985842193.uix
adb服务、手机都重启多次还是如此,这个项目还在维护的话请关注下这个问题, 谢谢~

@ye2608
Copy link

ye2608 commented Oct 21, 2022

同样遇到这个问题,看来这个项目没人维护了

@niuxiang0903
Copy link

你可以试试通过adb是否可以连接到手机,我这如果adb连不到手机会出现上面的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants