Giter VIP home page Giter VIP logo

Comments (6)

gitzhan avatar gitzhan commented on May 30, 2024 2

使用环境:compose-desktop [single platform]
遇到同样的问题,刚开始是下了大神的源码去用解决的,后来仔细看了下,实际上是找不到【app.cash.molecule.RecompositionClock】这个类(这个类在molecule-runtime包内),跟providePlatformDispatcher以及jdk17啥的都没关系。再看precompose-molecule实现,其是编译时依赖了这个包( compileOnly("app.cash.molecule:molecule-runtime:0.9.0")),所以大家直接在自己的项目中,增加这个依赖就可以了(如:implementation("app.cash.molecule:molecule-runtime:0.9.0"))。
这里答复下,帮助更多人。
这是作者源码里的:
image
这是我使用的:
image

from precompose.

artillerymans avatar artillerymans commented on May 30, 2024

我当前的处理方案:
image
当前运行目测没有发现其他的问题

from precompose.

Tlaster avatar Tlaster commented on May 30, 2024

Hi, can you check if version 1.4.0 works for you?

from precompose.

artillerymans avatar artillerymans commented on May 30, 2024

image
这个是用1.4.0后的错误信息
我用的jdk17 这个是否有影响?

from precompose.

huhu2008 avatar huhu2008 commented on May 30, 2024

image 这个是用1.4.0后的错误信息 我用的jdk17 这个是否有影响?

一样的问题 这个有解决吗 我用的jdk15

from precompose.

Tlaster avatar Tlaster commented on May 30, 2024

close as completed

from precompose.

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.