← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #169859]: Availability? Android: using Monkey runner? Mac: Cocoa Accessibility API?

 

Question #169859 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/169859

Raymond Gonzales gave more information on the question:
I tried your example using the newest android-robot jar and received an
error.  Here is the error:

java.lang.NoSuchMethodError: com.android.monkeyrunner.adb.AdbBackend.waitForConnection()Lcom/android/monkeyrunner/MonkeyDevice;
	at org.sikuli.script.android.AndroidScreen.initRobots(AndroidScreen.java:30)
	at org.sikuli.script.android.AndroidScreen.<init>(AndroidScreen.java:55)
	at com.company.androidautomation.tests.TestAndroid.setUpBeforeClass(TestAndroid.java:14)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.