I am getting the following error when trying to use Android Studio Layout inspector to debug my composables
Could not download androidx.compose.ui:ui:writeVersionFile .... (See a picture)
How can I fix this?
Addition Info
2
file:
allprojects { repositories { google() mavenCentral() jcenter() } }
Reload your project and update Gradle dependencies.
dependencies { implementation("androidx.compose.ui:ui:1.3.3") } android { buildFeatures { compose = true } composeOptions { kotlinCompilerExtensionVersion = "1.4.2" } kotlinOptions { jvmTarget = "1.8" } }
You can find more information at this link
[https://developer.android.com/jetpack/androidx/releases/compose-ui]
I faced the same issue here. The kotlinCompilerExtensionVersion 1.4.2 isn’t released. The latest version is 1.4.1-dev-k1.8.10-c312d77f4cb.
Click here to cancel reply.
2
Answers
file:
Reload your project and update Gradle dependencies.
You can find more information at this link
[https://developer.android.com/jetpack/androidx/releases/compose-ui]
I faced the same issue here. The kotlinCompilerExtensionVersion 1.4.2 isn’t released. The latest version is 1.4.1-dev-k1.8.10-c312d77f4cb.