如何使用Sentry上传Android项目的源上下文
我正在构建一个使用Sentry记录错误的Android应用程序。 但是,我想使用原始源代码来增强堆栈跟踪。
应根据Sentry的,但是我不知道要采取哪些步骤。
在有一个工作设置以解决proguard符号,我试图使用sentry-cli cli upload-dif -include-sources
和sentry-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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是不可能的。但是在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