I\'m trying to figure out how to keep original line numbers with R8.
Doing an app with current AndroidStudio and obfuscating it with R8, and even uploading mapping.
mapping.
In order for correct retracing of obfuscated stack traces it is required to have the following in the configuration file
-keepattributes LineNumberTable,SourceFile
See https://developer.android.com/studio/build/shrink-code#decode-stack-trace for moe information.