java.lang.NoSuchMethodError: com.android.uiautomator.core.UiDevice.getDisplayRotation

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by prolificcoder
, 1 year ago
com.android.uiautomator.core.UiDevice.getDisplayRotation
java.lang.NoSuchMethodError: com.android.uiautomator.core.UiDevice.getDisplayRotation
at io.appium.android.bootstrap.handler.Orientation.handleRotation(Orientation.java:95)
at io.appium.android.bootstrap.handler.Orientation.execute(Orientation.java:43)
at io.appium.android.bootstrap.AndroidCommandExecutor.execute(AndroidCommandExecutor.java:76)
at io.appium.android.bootstrap.SocketServer.runCommand(SocketServer.java:183)
at io.appium.android.bootstrap.SocketServer.handleClientData(SocketServer.java:91)
at io.appium.android.bootstrap.SocketServer.listenForever(SocketServer.java:134)
at io.appium.android.bootstrap.Bootstrap.testRunServer(Bootstrap.java:17)
at com.android.uiautomator.testrunner.UiAutomatorTestRunner.start(UiAutomatorTestRunner.java:121)
at com.android.uiautomator.testrunner.UiAutomatorTestRunner.run(UiAutomatorTestRunner.java:82)
at com.android.commands.uiautomator.RunTestCommand.run(RunTestCommand.java:76)
at com.android.commands.uiautomator.Launcher.main(Launcher.java:83)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.