java.lang.NoSuchMethodError: com.android.uiautomator.core.UiSelector.className

GitHub | prolificcoder | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 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
  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

    Rotate crashes android

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

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.android.uiautomator.core.UiSelector.className

      at io.appium.android.bootstrap.handler.Find.execute()
    2. io.appium.android
      Bootstrap.testRunServer
      1. io.appium.android.bootstrap.handler.Find.execute(Find.java:124)
      2. io.appium.android.bootstrap.AndroidCommandExecutor.execute(AndroidCommandExecutor.java:76)
      3. io.appium.android.bootstrap.SocketServer.runCommand(SocketServer.java:183)
      4. io.appium.android.bootstrap.SocketServer.handleClientData(SocketServer.java:91)
      5. io.appium.android.bootstrap.SocketServer.listenForever(SocketServer.java:134)
      6. io.appium.android.bootstrap.Bootstrap.testRunServer(Bootstrap.java:17)
      6 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