Giter VIP home page Giter VIP logo

Comments (2)

dragitpro avatar dragitpro commented on May 27, 2024 1

Thanks for your answer, and sorry for wasting your time. In my build.gradle.kts, under the Android block, I had:

dependencies {
    debugImplementation(libs.compose.ui.tooling) 

and in my catalog, compose-tooling is defined as:
compose-tooling = { module = "androidx.compose.ui:ui-tooling", version.ref = "compose" }
So yeah problem was that . Thanks again

from compose-multiplatform.

igordmn avatar igordmn commented on May 27, 2024

implementation(compose.components.uiToolingPreview)

compose.components.uiToolingPreview doesn't contain links to androidx.compose.ui:ui-tooling-preview - I checked that, and it works for Android/Desktop.

Maybe you have another dependency on androidx.compose.ui:ui-tooling-preview somewhere? It is a part of Jetpack Compose, which has its own versioning, and doesn't have 1.6.10-beta01. For Jetpack Compose you should use a different version (the latest version is 1.6.6).

It is a guess, but you might use a template https://kmp.jetbrains.com/, which generates this:

[versions]
...
compose = "1.6.5"
compose-plugin = "1.6.2"
...

compose here is Jetpack Compose
compose-plugin is Compose Multiplatform

We will fix this confusion here

from compose-multiplatform.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.