How to upload source context for an Android project with sentry

Viewed 20

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!

1 Answers
Related