当我使用 Android Studio Giraffe 时尝试在我的项目上使用布局检查器时,我收到上面的错误消息 | 2022年3月1日金丝雀6号。
我也尝试过用Android Studio Electric Eel | 2022.1.1 补丁 1。在那里我只收到错误消息:Compose 检查不可用。
对于版本控制,我使用 chris banes 的 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"
Run Code Online (Sandbox Code Playgroud)
我还尝试使用自己的版本而不使用 BOM,但这给了我同样的问题。使缓存失效和重建项目也不起作用。
有人知道如何解决这个问题并再次开始使用我的布局检查器吗?
android android-studio android-gradle-plugin layout-inspector android-jetpack-compose
android ×1