macOS Big Sur 下 uiautomatorviewe

2022-02-08  本文已影响0人  sunjc53yy

情况一、jdk版本太高启动失败

Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

解决方案:

把jdk版本号切换到jdk8

情况二、界面无法操作


image.png
解决方案1:
1、下载4.20版本的swt.jar  (https://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops4/R-4.20-202106111600/swt-4.20-cocoa-macosx-x86_64.zip)
2、重命名为swt2.jar,拷贝到 sdk安装目录/tools/lib/x86_64/

解决方案2:
参考:https://github.com/cmlanche/uiautomatorviewer-standalone
上一篇下一篇

猜你喜欢

热点阅读