Closed CoolMind closed 5 years ago
I was wrong. Removed AppMetrica from the project, but stacktrace haven't changed. Looked at https://stackoverflow.com/questions/39322359/proguard-doesnt-preserve-the-line-numbers-and-method-names-in-stacktrace and understood that only -dontobfuscate
will solve the problem. So, you have to choose either obfuscation or correct line numbers.
I have a Kotlin project with coroutines and ProGuard rules (as usual). It has several attached libraries, including AppMetrica. When an application crashes in
release
build, it shows a strange stacktrace. Its' lines are mixed, and line numbers don't refer to source code. Recently my friend has gotten this behaviour when moved a project with AppMetrica from Java to Kotlin.In Kotlin forums they answer the problem is in ProGuard.
Have you met this problem?