I'm getting the error message above when trying to use Layout inspector on my Project when I'm using Android Studio Giraffe | 2022.3.1 Canary 6.
I also tried it with Android Studio Electric Eel | 2022.1.1 Patch 1. There I only get the error message: Compose inspection is not available.
For version Control I'm using chris banes's BOM
composeOptions {
kotlinCompilerExtensionVersion '1.4.0'
}
dependencies{
androidx.compose = 2023.02.00-alpha02
..
implementation platform("dev.chrisbanes.compose:compose-bom:${androidx.compose}")
androidTestImplementation platform("dev.chrisbanes.compose:compose-bom:${androidx.compose}")
implementation "androidx.compose.ui:ui"
implementation "androidx.compose.ui:ui-util"
implementation "androidx.compose.material:material"
implementation "androidx.compose.material:material-icons-extended"
implementation "androidx.compose.ui:ui-tooling"
debugImplementation "androidx.compose.ui:ui-tooling"
implementation "androidx.compose.ui:ui-tooling-preview"
I also tried to use own verrsions without using the BOM but that gave me the same issue. Invalidating Cache and Rebuilding Project also didn't work.
Has anybody an idea how I can fix this and start using my Layout inspector again?