0

我正在尝试在 Windows 环境中从命令行运行 uiautomatorviewer 工具。显示以下错误:

C:\Users\%USERNAME%>uiautomatorviewer
Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 64-bit SWT libraries on 32-bit JVM
        at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
        at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
        at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
        at org.eclipse.swt.widgets.Widget.<clinit>(Unknown Source)
        at org.eclipse.jface.window.Window.createShell(Window.java:487)
        at org.eclipse.jface.window.Window.create(Window.java:430)
        at org.eclipse.jface.window.Window.open(Window.java:790)
        at com.android.uiautomator.UiAutomatorViewer.main(UiAutomatorViewer.java:78)

有没有办法解决这个问题,以便 uiautomatorviewer 工具工作?

4

0 回答 0