【发布时间】:2020-11-22 16:45:39
【问题描述】:
在安装了 Java11 且环境路径设置正确的情况下执行 UIAUTOMATORVIEWER 时出错。不过,我可以使用 java11 执行 appium 测试。
ERROR: No suitable Java found. In order to properly use the Android Developer
Tools, you need a suitable version of Java JDK installed on your system.
We recommend that you install the JDK version of JavaSE, available here:
http://www.oracle.com/technetwork/java/javase/downloads
If you already have Java installed, you can define the JAVA_HOME environment
variable in Control Panel / System / Avanced System Settings to point to the
JDK folder.
You can find the complete Android SDK requirements here:
http://developer.android.com/sdk/requirements.html
编辑: uiautomatorviewer 适用于 java8,java11 有什么解决方法吗?
【问题讨论】:
标签: java android appium android-uiautomator