如何指导用户报告 Android 中的错误

发布于 2024-09-10 21:04:46 字数 124 浏览 4 评论 0原文

如何指导用户报告 Android 中的错误?有什么建议或技巧吗?

我想向我的用户发送详细说明,以充分利用他们的错误报告。我知道有各种应用程序会从设备发送错误报告,我想知道其他 Android 开发人员如何处理这个问题。

How do you instruct users to report a bug in Android? Any advice or tips?

I'd like to get send detailed instructions to my users to get the most of their bug report. I know there are various apps that send bug reports from the device and I was wondering how other Android developers deal with this.

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

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

发布评论

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

评论(7

南城旧梦 2024-09-17 21:04:46

Instabug 等错误报告 SDK 可以帮助您实现这一目标。

弹出消息指导用户如何报告实时应用程序中的错误

如您所见,默认情况下,它会在打开应用程序 10 秒后向用户显示欢迎消息。它显示有关如何调用 Instabug 的说明,具体取决于您使用的调用方法(按钮或摇动手势)。

注册并将库包含在代码中后,您可以在不同的显示消息之间切换。根据您处于测试阶段还是生产阶段,使用以下任一行。

Instabug.setWelcomeMessageState(WelcomeMessage.State.BETA);
Instabug.setWelcomeMessageState(WelcomeMessage.State.LIVE);

每个错误报告都包含有关设备详细信息、网络日志、控制台日志、视图层次结构检查和视觉再现步骤的各种信息。


为了充分披露,我在 Instabug 工作。如果我能帮忙,请告诉我。

A bug reporting SDK such as Instabug can let you achieve that.

Pop up message instructing users how to report a bug in your live app

As you can see, it displays, by default, a welcome message to your users 10 seconds after opening the app. It displays instructions on how to invoke Instabug depending on the invocation method you're using (A button or a shake gesture).

After signing up and including the library in your code, you can switch between different display messages. Use either of the following lines depending on whether you're in beta or production.

Instabug.setWelcomeMessageState(WelcomeMessage.State.BETA);
Instabug.setWelcomeMessageState(WelcomeMessage.State.LIVE);

Each bug report contains various information about device details, network logs, console logs, view hierarchy inspection, and visual reproduction steps.


For full disclosure, I work at Instabug. Let me know if I can help.

哭泣的笑容 2024-09-17 21:04:46

有一些解决方案可以通过收集上下文信息并允许用户提供应用内反馈的方式来检测应用程序。通过摇动手机或其他触发方式(例如菜单选项)。

这是 IBM 提供的“当前免费”产品,称为“移动质量保证”,它将对应用程序进行检测,以便在用户使用应用程序时收集上下文信息。当他们想要提供反馈或提交错误时,他们可以摇动手机,手机就会捕获当时的屏幕,为他们提供一个表格以输入附加信息,然后将屏幕截图、上下文信息和评论提交到测试门户。

以下是有关 MQA

There are solutions for instrumenting the application in a way that will collect contextual information and allow the user to provide in-app feedback. Either by shaking the phone or some other trigger like a menu option.

Here is a "currently free" offering from IBM called Mobile Quality Assurance, that will instrument the application so that as a user uses the application contextual information is collected as they use the app. When they want to provide feedback or submit a bug, they can shake the phone and it will capture the screen at the time, give them a form to enter additional information and then submit the screenshot, contextual information and comments to the testing portal.

Here's a link for more info on MQA

ゞ记忆︶ㄣ 2024-09-17 21:04:46

考虑到吉尔伯特的建议,我决定创建自己的应用程序。我在此向您介绍:Bug Reporter

它允许用户向您发送包含设备信息和可选 logcat 的报告。如果您想从应用程序启动它,它还支持意图附加功能来自定义其行为。

Taking Gilbert's advice into account, I decided to create my own app. I hereby present you: Bug Reporter.

It allows users to send you a report with device information and optional logcat. It also supports intent extras to customize its behavior if case you want to launch it from your app.

单挑你×的.吻 2024-09-17 21:04:46

你可以像谷歌一样在 iPhone 上使用他们的新地图应用程序。当您使用该应用程序并摇动手机(用户在感到沮丧或出现问题时会这样做)时,您可以弹出一个屏幕,询问是否出现问题,并且是一个他们可以选择的错误提交表单填写。

You can do what google does with their new maps application on iPhone. When you're using the app and shake the phone (which users do when they're frustrated or something isn't working) you can pop up a screen that asks if something is wrong and is a form for bug submission that they can choose to fill out.

揽清风入怀 2024-09-17 21:04:46

这不是 Android 特有的,但您的应用程序中可能有一个错误报告屏幕,它将您的客户键入的信息以及您希望捕获的任何系统信息发送到您的 Web 服务器。或者,应用程序可以通过电子邮件向您提供信息。

This isn't Android specific, but you could have a bug reporting screen in your application that sends the information your customers type, along with any system information you wish to capture, to your web server. Alternatively, the application could email you with the information.

心凉 2024-09-17 21:04:46

您可以集成一些库来完成这项工作,您不需要自己开发解决方案。例如,我正在使用 blit 反馈。使用这个库,您可以拍摄快照、利用它们并添加一些评论。我已将其配置为通过电子邮件发送报告,但如果您有问题跟踪器,也可以连接它。

There are some libraries you can integrate to do this job, you don't need to develop a solution yourself. For example, I'm using blit feedback. With this library you can take snapshots, draw on them and add some comments. I've configured it to send reports by email, but if you have an issue tracker you can connect it too.

别再吹冷风 2024-09-17 21:04:46

发现这个问题已经很晚了。已经给出了答案,但提到的产品或技术现在已经相当陈旧了。添加我们一直在开发的工具 - Bugclipper

此工具可让您的用户从 Android 应用内报告问题或 iOS,您可以添加/注释屏幕截图、使用语音创建屏幕录制并获取崩溃日志。

ps - 我是联合创始人之一。

Discovered this question a lot late. There are answers given but the products mentioned or the techniques are quite old now. Adding the tool that we have been working on - Bugclipper

This tool let's your users report issues from with-in the app Android or iOS and you can add/annotate screenshots, create screen recordings with voice and also get the crash logs.

p.s. - I am one of the co-founders.

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