How to fix invalid line numbers in Proguard enabled Android relase APK?

When Proguard enabled in Android release build, Line numbers will change. This will not happen in Proguard enabled debug build, If exception occurred it is possible to find root cause easily retracing logs on debug application. but in release build line numbers are wrong.

TargerSDKVersion = 33
GrdleVersion = 7.1.2

Hi Dilanka,

have you attempted to use the ReTrace tool (ProGuard Manual: ReTrace | Guardsquare) to assist in deobfuscating your logs?

Best,
Jared

1 Like