-
Notifications
You must be signed in to change notification settings - Fork 638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
d.dump() missing views then stuck in bad state #156
Comments
Note this isn't reproducible by using |
If the d.dump(compressed=True) is called all subsequent calls will only show a compressed view. Force the compressed layout heirarchy state back to the default of false to make subsequent calls work correctly. xiaocong/uiautomator#156
hi, |
Fix merged. |
The info is null when I use d.dump() to dump device's info, while it was normal if I dump device's info in serial(By launch the command "uiautomator dump xx.xml"), what's more, device's UI info can also be obtained by adb shell(Enther into adb shell, and launch the command of "uiautomator dump xx.xml"), I don't know why. |
@greenheart0707 |
I am also facing same issue :( |
I keep hitting a bug where resource IDs suddenly disappear, even though the device state hasn't changed and can verify in uiautomatorviewer. I'm able to reproduce the bug in as few lines as:
At this point it will continue to return False until I restart the uiautomator server or kill the adb service.
To find a specific example, take a uiautomator dump with uiautomatorviewer first, then take one using the Python wrapper. Nodes that appear near the bottom of uiautomatorviewer do not always show up in d.dump().
Environment info
uiautomator: 0.2.6
device: Amazon Fire HD 6
OS: Ubuntu 14.04 LTS
The text was updated successfully, but these errors were encountered: