将内容添加到错误报告

发布于 2025-01-20 01:03:42 字数 101 浏览 2 评论 0原文

adb bugreport

正在生成一个 *.zip 文件,其中包含许多可以分析的报告。 是否可以将目标上的自己的文件添加到错误报告中,以便 *.zip 文件将包含这些文件?

adb bugreport

is generating a *.zip file which contains a lot of reports that can be analyzed.
Is it possible to add own files which are on the target to the bugreport so that the *.zip file will contain those files?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

七堇年 2025-01-27 01:03:42

Android上默认没有zip,除非您安装它或创建一个可以操纵zip文件的应用程序,否则您应该在运行adb(即您的计算机)的侧面进行操作。 。

您可以创建这样的脚本:

adb bugreport mybugreport
adb pull /path/to/myfile1
adb pull /path/to/myfile2
zip mybugreport.zip myfile1 myfile2 

There's no zip by default on android so unless you install it or create an app that can manipulate zip files you should do it on the side that's running adb (i.e. your computer).

You can create a script like this:

adb bugreport mybugreport
adb pull /path/to/myfile1
adb pull /path/to/myfile2
zip mybugreport.zip myfile1 myfile2 
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文