Skip to content

Provide a way to enable stacktrace recovery in Android release build #1998

Open
@varahash

Description

@varahash

As mentioned in https://github.com/Kotlin/kotlinx.coroutines/blob/master/ui/kotlinx-coroutines-android/README.md#optimization

When optimizations are enabled with R8 version 1.6.0 or later the following debugging features are permanently turned off to reduce the size of the resulting binary:

  • Debugging mode
  • Stacktrace recovery
  • The internal assertions in the library are also permanently removed.

There is should be a way to opt-out this behaviour.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions