- Replace
implementation("androidx.wear.tiles:tiles-material:<version>")
withimplementation("androidx.wear.protolayout:protolayout-material:1.0.0-rc01")
- Add
implementation("androidx.wear.protolayout:protolayout-expression:1.0.0-rc01")
andimplementation("androidx.wear.protolayout:protolayout:1.0.0-rc01")
- Update tiles:tiles dependency to use the latest version
implementation("androidx.wear.tiles:tiles:1.2.0-rc01")
, and it should stay for tiles only classes.
Use the script we provided to update your project's imports from Tiles to ProtoLayout. Script can be found here or copy the snippet below: