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

GitHub | prolificcoder | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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
  5. 0

    NoSuchMethod exception while creating and formatting .doc file using Apache poi-3.8 beta hwpf

    Stack Overflow | 5 years ago | Kanon
    java.lang.NoSuchMethodError: org.apache.poi.POIDocument. : at org.apache.poi.hwpf.HWPFDocumentCore.(HWPFDocumentCore.java:145) : at org.apache.poi.hwpf.HWPFDocument.(HWPFDocument.java:218) : at org.apache.poi.hwpf.HWPFDocument.(HWPFDocument.java:186) : at com.vikas.prudent.CreateDocument.onCreate(CreateDocument.java:45) : at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) : at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627) : at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679) : at android.app.ActivityThread.access$2300(ActivityThread.java:125) : at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033) : at android.os.Handler.dispatchMessage(Handler.java:99) : at android.os.Looper.loop(Looper.java:123) : at android.app.ActivityThread.main(ActivityThread.java:4627) : at java.lang.reflect.Method.invokeNative(Native Method) : at java.lang.reflect.Method.invoke(Method.java:521) : at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) :

    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