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