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

GitHub | prolificcoder | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Rotate crashes android

    GitHub | 4 years ago | prolificcoder
    java.lang.NoSuchMethodError: com.android.uiautomator.core.UiDevice.getDisplayRotation
  2. 0

    Appium fails to launch on physical Nexus 7

    GitHub | 3 years ago | bootstraponline
    java.lang.NoSuchMethodError: com.android.uiautomator.core.UiDevice.setCompressedLayoutHeirarchy
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    scroll_to crashing and uninstalling app (test runner didn't break through)

    GitHub | 4 years ago | prolificcoder
    java.lang.NoSuchMethodError: com.android.uiautomator.core.UiSelector.className

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.android.uiautomator.core.UiDevice.getDisplayRotation

      at io.appium.android.bootstrap.handler.Orientation.handleRotation()
    2. io.appium.android
      Bootstrap.testRunServer
      1. io.appium.android.bootstrap.handler.Orientation.handleRotation(Orientation.java:95)
      2. io.appium.android.bootstrap.handler.Orientation.execute(Orientation.java:43)
      3. io.appium.android.bootstrap.AndroidCommandExecutor.execute(AndroidCommandExecutor.java:76)
      4. io.appium.android.bootstrap.SocketServer.runCommand(SocketServer.java:183)
      5. io.appium.android.bootstrap.SocketServer.handleClientData(SocketServer.java:91)
      6. io.appium.android.bootstrap.SocketServer.listenForever(SocketServer.java:134)
      7. io.appium.android.bootstrap.Bootstrap.testRunServer(Bootstrap.java:17)
      7 frames
    3. Java RT
      Method.invokeNative
      1. java.lang.reflect.Method.invokeNative(Native Method)
      1 frame
    4. com.android.uiautomator
      UiAutomatorTestRunner.run
      1. com.android.uiautomator.testrunner.UiAutomatorTestRunner.start(UiAutomatorTestRunner.java:121)
      2. com.android.uiautomator.testrunner.UiAutomatorTestRunner.run(UiAutomatorTestRunner.java:82)
      2 frames
    5. com.android.commands
      Launcher.main
      1. com.android.commands.uiautomator.RunTestCommand.run(RunTestCommand.java:76)
      2. com.android.commands.uiautomator.Launcher.main(Launcher.java:83)
      2 frames
    6. Android
      RuntimeInit.main
      1. com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
      2. com.android.internal.os.RuntimeInit.main(RuntimeInit.java:257)
      2 frames
    7. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame