在运行uiautomatorviewer.bat时得到错误“主要” java.lang.UnsupportedClassVersionError:JVMCFRE003主要版本错误。你能帮助我吗

时间:2019-06-24 07:21:03

标签: android uiautomatorviewer

我正在尝试运行uiautomatorviewer.bat,但出现此错误。

Exception in thread "main" java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=com/android/uiautomator/UiAutomatorViewer, offset=6
        at java.lang.ClassLoader.defineClassImpl(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:273)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:74)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:538)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
        at java.net.URLClassLoader.access$300(URLClassLoader.java:77)
        at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1041)
        at java.security.AccessController.doPrivileged(AccessController.java:488)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:427)
        at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:281)
        at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:701)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:680)
        at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:693)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:680)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:663)
Could not find the main class: com.android.uiautomator.UiAutomatorViewer. Program will exit.

我该如何解决

0 个答案:

没有答案