Skip to content
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

no permission to access /data/anr, can't pull log file #13

Open
guor911 opened this issue Feb 24, 2021 · 1 comment
Open

no permission to access /data/anr, can't pull log file #13

guor911 opened this issue Feb 24, 2021 · 1 comment

Comments

@guor911
Copy link

guor911 commented Feb 24, 2021

how to get anr file

@guor911
Copy link
Author

guor911 commented Feb 24, 2021

added the if logic to determine the pull error to get the bugreport, not sure that's a good way to get trace file.
startup.py
function is: pull_log_files, line number: 335

        if self.config_dic["phone_log_path"]:
            for src_path in self.config_dic["phone_log_path"]:
                if "error" in self.device.adb.pull_file(src_path, RuntimeData.package_save_path):
                    self.device.adb.bugreport(save_path=RuntimeData.package_save_path)```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant