android - AndroidViewClient restarts device with every command after using "touch(x,y)" command once -
using androidviewclient, every action try make using culebra or of associated scripts restarts virtual device. has ever run before?
**edit 1: ** more specifically, endless restart loop after trying command touch device in specific area.
i.e. if place following script, restart device , further culebra generated commands cause device restart
self.vc.device.touchdip(173, 1111)
edit 2: added more information
i've replicated behavior on few different models, i'm working following:
device: google galaxy nexus - 4.3 - api 18 - 720x1280
$ culebra -v culebra 10.7.2 $ dump -v dump 10.7.2 dump android.widget.framelayout android.view.view com.android.launcher:id/workspace android.view.view com.android.launcher:id/cell3 android.appwidget.appwidgethostview android.view.view com.android.deskclock:id/analog_appwidget android.widget.textview camera .... $ adb shell date thu aug 20 12:44:08 edt 2015
different x,y coordinates restart device well:
adb shell input tap 200 900 <--- restarts phone
edit 3: screenshot after logged adb shell
phone restarts again after second command here
i never heard of such thing, guess related particular environment, device or version (details missing question).
anyway, instead of solution, don't have don't know problem give tips find cause.
first of all, check adb
working , can connect device:
adb shell
androidviewclient/culebra uses input tap
command send touch events, send like
adb shell input tap 173 1111
ignore dip moment, send coordinates in px.
additionally, test dump
verify content of screen can obtained
dump -a
i hope helps detect problem.
Comments
Post a Comment