no permission to access /data/anr, can't pull log file
guor911 opened this issue · comments
how to get anr file
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)```