I updated compose libraries from alpha07
to alpha08
version = "1.0.0-alpha08"
androidx.compose.ui:ui:$version
androidx.ui:ui-tooling:$version
But after that androidx.ui.tooling.preview.Preview
is unresoved
Checking out the release note of alpha08 in Jetpack compose, you'll notice that ui-tooling
has been moved from androidx.ui
to androidx.compose.ui
Changes you need to make:
dependencies {
// New dependencies
implementation "androidx.compose.ui:ui-tooling:1.0.0-alpha08"
testImplementation "androidx.compose.ui:ui-test:1.0.0-alpha08"
// Old dependencies
implementation "androidx.ui:ui-tooling:1.0.0-alpha07"
testImplementation "androidx.ui:ui-test:1.0.0-alpha07"
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With