简体   繁体   English

无法从我的 windows 10:: 启动 uiAutomatorViewer:不支持获取 -Djava.ext.dirs=..\lib\x86_64;..\lib。 使用 -classpath 代替

[英]Not able to launch the uiAutomatorViewer from my windows 10 :: Getting -Djava.ext.dirs=..\lib\x86_64;..\lib is not supported. Use -classpath instead

I am not able to launch the uiautomatorviewer from My windows 10. I am using JAVA version 15.我无法从我的 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.

Can someone please suggest what should I do?有人可以建议我该怎么做吗? Thanks in advance.提前致谢。

I am able to launch the UI Automator after downgrading the installed java version to my system.在将已安装的 java 版本降级到我的系统后,我能够启动 UI Automator。

To launch the UI Automator successfully, we need to run Java 8.要成功启动 UI Automator,我们需要运行 Java 8。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 尝试为 Windows 10 (x86_64) 静态编译 FFmpeg 4.2.3,但二进制文件要求缺少 DLL - Attempting to compile FFmpeg 4.2.3 statically for Windows 10 (x86_64), but binaries asks for missing DLLs 如何以编程方式从我的 Windows 10 应用程序启动相机应用程序? - How to launch camera app from my windows 10 app programmatically? 无法在 Windows 10 中将启动 arguments 添加到谷歌浏览器 - Not able to add launch arguments to google chrome in Windows 10 Windows 10 x64和PCL驱动程序上的WPF打印 - WPF Printing on Windows 10 x64 and PCL drivers 运行应用程序并获取其 window 的句柄。 我的代码在 Windows 10 x64 中无法正常工作 - Run an application and get the handle to its window. My code doesn't work properly in Windows 10 x64 JNLP文件在Windows 10 x64上不起作用 - JNLP file doesn't work on windows 10 x64 无法在Windows 10 x64上安装Jekyll - Can't install Jekyll on Windows 10 x64 Windows 10上的Visual Studio 2010 x64编译器 - Visual Studio 2010 x64 Compiler on Windows 10 Windows 10 入口点 x64 处的寄存器值 - Values of Registers at Windows 10 Entry Point x64 在Windows 10下使用GTest的CMake-致命错误LNK1104:无法打开文件'gtest.lib',但是存在调试'gtestd.lib' - CMake using GTest under Windows 10 - fatal error LNK1104: cannot open file 'gtest.lib', but debug 'gtestd.lib' is present
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM