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

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

java.lang.NoSuchMethodError: com.android.uiautomator.core.UiSelector.className
at io.appium.android.bootstrap.handler.Find.execute(Find.java:124)
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.