如何使用Sentry上传Android项目的源上下文

发布于 2025-02-10 02:05:09 字数 484 浏览 1 评论 0原文

我正在构建一个使用Sentry记录错误的Android应用程序。 但是,我想使用原始源代码来增强堆栈跟踪。

应根据Sentry的,但是我不知道要采取哪些步骤。

在有一个工作设置以解决proguard符号,我试图使用sentry-cli cli upload-dif -include-sourcessentry-cli-cli-cli difutil bundle-sources 。但是我没有一个工作。

如果有人以前解决了这个问题,并设法在Sentry中获得了Android应用程序代码,那么您的帮助将不胜感激!

I'm building an android app which uses sentry to log errors.
However I would like to enhance my stack traces with the original source code.

This should be supported according to Sentry's documentation, however I can't figure out which steps to take.

In have a working setup to resolve ProGuard symbols, and I have tried to generate source bundles using sentry-cli upload-dif --include-sources and sentry-cli difutil bundle-sources. However I haven't got either one to work.

If someone has tackled this problem before and has managed to get their Android app source code in Sentry, your help would be greatly appreciated!

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

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

发布评论

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

评论(1

半步萧音过轻尘 2025-02-17 02:05:09

这是不可能的。但是在GitHub上有一个功能请求:

https://github.com/getsentry.com/getsentry /sentry-java/essugy/633

It's not possible yet. But there's a feature request for this tracked on GitHub:

https://github.com/getsentry/sentry-java/issues/633

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