【问题标题】:Not able to launch the uiAutomatorViewer from my windows 10 :: Getting -Djava.ext.dirs=..\lib\x86_64;..\lib is not supported. Use -classpath instead无法从我的 Windows 10 启动 uiAutomatorViewer :: Getting -Djava.ext.dirs=..\lib\x86_64;..\lib 不受支持。改用 -classpath
【发布时间】:2021-04-12 10:28:21
【问题描述】:

我无法从 Windows 10 启动 uiautomatorviewer。我使用的是 JAVA 版本 15。

C:\Users\Bhavya\AppData\Local\Android\Sdk\tools\bin>uiautomatorviewer
-Djava.ext.dirs=..\lib\x86_64;..\lib is not supported.  Use -classpath instead.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

有人可以建议我该怎么做吗?提前致谢。

【问题讨论】:

    标签: windows-10 uiautomatorviewer


    【解决方案1】:

    我可以在将安装的 java 版本降级到我的系统后启动 UI Automator。

    要成功启动 UI Automator,我们需要运行 Java 8。

    【讨论】:

      猜你喜欢
      • 2021-08-17
      • 2014-10-14
      • 2018-01-13
      • 2016-01-20
      • 2019-09-10
      • 1970-01-01
      • 1970-01-01
      • 2017-10-14
      • 2017-12-15
      相关资源
      最近更新 更多