From b997a7cb62a1f1069e3c3c83d6a0690cbb73261b Mon Sep 17 00:00:00 2001 From: MM20 <15646950+MM2-0@users.noreply.github.com> Date: Mon, 14 Feb 2022 14:36:28 +0100 Subject: [PATCH] Disable isDebuggable in debug builds I don't know if there are any side-effects, but this is the only way to make Jetpack Compose not unusably laggy in debug builds that I found --- app/build.gradle.kts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 90a2a37b..73a3ef4f 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -43,6 +43,9 @@ android { } debug { applicationIdSuffix = ".debug" + // Jetpack Compose is unusably laggy in debug builds, it's ridiculous + // This somehow seems to resolve that issue. + isDebuggable = false } } configurations.all {