A proguard mapping file does not contain line info.
See original GitHub issueI am using io.sentry:sentry-android-gradle-plugin:1.7.22
Sentry Gradle plugin and r8
code shrinker. Proguard has -keepattributes LineNumberTable,SourceFile
.
During assembleRelease
mappings are sent correctly:
compressing mappings
> uploading mappings
> Uploaded a total of 1 new mapping files
Newly uploaded debug symbols:
ae8513b1-0c13-569e-8f19-1107bcb82010
When exception occurs, on Sentry I see that there was 1 error encountered while processing event:
A proguard mapping file does not contain line info. Mapping Uuid ae8513b1-0c13-569e-8f19-1107bcb82010
And stack trace is not retraced. Can you give me hints what can be wrong?
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (2 by maintainers)
Top Results From Across the Web
ProGuard doesn't generate mapping file - Stack Overflow
In app/build/outputs folder, I only have. Folder. Then I read somewhere about proguard-rules.pro file. It just had some comments and no code.
Read more >Android debug files correctly uploaded but issues do not show ...
Usually the problems are: Not uploading proguard mapping files. Not using the plugin so the debug_meta isn't in the event. Could you confirm...
Read more >ProGuard Manual: ReTrace - Guardsquare
A mapping file contains the original names and the obfuscated names of classes, fields, and methods. ProGuard can write out such a file...
Read more >Error uploading proguard mapping file - Unity Forum
I'm working on an android game using Unity 2019.4.25f1. I built the app bundle with minify option set to 'Proguard'.
Read more >Deobfuscate or symbolicate crash stack traces - Google Help
Important: Only ReTrace-compatible mapping files are supported for deobfuscation of apps compiled in Java. This is the same format used by ProGuard or...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@realdadfish I see you mentioned bugs related to gradle plugin. Currently I’m doing it by hand (own gradle task) with
sentry-cli
so it’s generated correctly and send to backend. sentry as far as i understand is able to match mapping file with log - by uuid but it cant retrace it correctly because of R8As @ninniuz mentioned it worked against sentry.io it might be that it’s an issue with sentry 9.1.1. It’d hard to tell but since we can’t reproduce in the current version of bits I’d suggest upgrading Sentry first.