Anamorphosee
Anamorphosee
minSdkVersion was made 26 for a reason: Classes that the SD generates use the [MethodHandles API](https://developer.android.com/reference/java/lang/invoke/MethodHandle), which requires API 26. It's possible not to use MethodHandles, but it will require...
There are no such plans yet. But if it will be useful to someone, I will investigate the topic.
Hi, @DatL4g Unfortunately, Decoroutinator works only on Android SDK level 26 or higher. Because it requires [MethodHandle API](https://developer.android.com/reference/java/lang/invoke/MethodHandle) which is available only from this version.
>Is it possible to only apply this to Android 26+ and keep the "normal" exception on lower versions. right now there is no such option, but I'll think and maybe...
@nordfalk You already can optionally disable decoroutinator at build time. For example add the configuration at your `build.gradle.kts` ```kotlin stacktraceDecoroutinator { if ("disableDecoroutinator" in properties) { enabled = false }...
Starting from 2.5.0 Decoroutinator won't crash the build on old Android versions. But still the stack trace recovery will work only on Android 8.0 and above.
@kenny-statsig It seems you add a call of `DecoroutinatorRuntime.load()` to the MainActivity's `onCreate()` method instead of the Application's one. Please see the correct example from the Android tests. https://github.com/Anamorphosee/stacktrace-decoroutinator/blob/master/stacktrace-decoroutinator-android/src/androidTest/AndroidManifest.xml https://github.com/Anamorphosee/stacktrace-decoroutinator/blob/master/stacktrace-decoroutinator-android/src/androidTest/kotlin/utils-test.kt#L31
Just released SD version 2.4.1 with a big rework for Android. From now on SD for Android requires only [the Gradle plugin](https://github.com/Anamorphosee/stacktrace-decoroutinator?tab=readme-ov-file#android) and no other dependencies or method calls are...
@cee-dee Maybe you can add a breakpoint on the constructor of the class `kotlin.coroutines.jvm.internal.BaseContinuationImpl` to try to figure out when this class loads initially.
@cee-dee Just released SD version 2.4.1 with a big rework for Android. From now on SD for Android requires only [the Gradle plugin](https://github.com/Anamorphosee/stacktrace-decoroutinator?tab=readme-ov-file#android) and no other dependencies or method calls...