I'm facing issue "show recomposition counts" is disabled (No source information found).
I have a ConstraintLayout having multiple ComposeViews and using - Android Studio Ladybug
Things I tried: add debuggable true, adding following to gradle.properties
kotlin.compose.sourceMaps=true androidx.compose.compiler.report.show=true
Invalidate cache and restart Tried on Android Studio Meerkat & Ladybug versions
What you’re seeing comes from how Compose tooling resolves source info when Compose is hosted inside ComposeView in a View layout like ConstraintLayout;
in that case Studio Meerkat/Ladybug can’t correctly map recompositions back to Kotlin source files, so "show recomposition counts" stays disabled with "No source information found".
The Gradle flags you added are fine but they only apply when Compose owns the UI tree via setContent, they don’t fix inspection for ComposeView. Debuggable=true, cache invalidation, or switching Studio versions won’t change this!
If you need recomposition counts, move the composables you want to inspect into a pure Compose hierarchy (Activity or Fragment using setContent ), or temporarily recreate the screen in a Compose-only container just for debugging.
With ComposeView embedded in XML, the tooling simply can’t expose recomposition counts properly at the moment, so restructuring for inspection is the only practical way forward!