AndroidViewClient icon indicating copy to clipboard operation
AndroidViewClient copied to clipboard

Error in init

Open bejoechen opened this issue 11 years ago • 1 comments

Hi I downloaded the latest viewClient but met below error. Does any one meet that before?

File "/src/com/dtmilano/android/viewclient.py", line 1180, in init if not self.serviceResponse(device.shell('service call window 3')): at com.android.monkeyrunner.MonkeyDevice.shell(MonkeyDevice.java:226) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616)

java.lang.NullPointerException: java.lang.NullPointerException

bejoechen avatar Jul 24 '13 11:07 bejoechen

What's in your script when the exception is thrown? Does the device appear in adb devices? Can you connect with adb shell?

dtmilano avatar Jul 24 '13 18:07 dtmilano