AndroidViewClient
AndroidViewClient copied to clipboard
Error in init
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
What's in your script when the exception is thrown?
Does the device appear in adb devices
?
Can you connect with adb shell
?