monitor.bat 打开报错


提示:An error has occurred. See the log file xxx\sdk\tools\lib\monitor-x86_64\configuration\xxx.log

根据提示打开log文件,最下面

 

解决

Ensure you have no other monitor.exe (if on Windows) or monitor (if
OS X / Linux) process running. If you do, kill it.

Run rm -rf $HOME/.android/monitor-workspace or remove the directory
manually

意思就是先在任务管理器进程里面关掉所有 monitor.exe 进程。
再去删除monitor-workspace整个目录,我的在C:\Users\Administrator.android里面,删除完重新打开成功。

传送门:
https://tutel.me/c/programming/questions/26052849/unexpected+error+while+parsing+input+invalid+uiautomator+hierarchy+file


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM