Giter VIP home page Giter VIP logo

Comments (2)

guolindev avatar guolindev commented on May 18, 2024

这是因为Glance库中引用了最新版本的constaintlayout,版本是2.0.4,高于你们项目使用的版本,gradle会以高版本为准,所以会导致整个项目工程使用的都是2.0.4版本。

这样看起来,应该是你们项目没有适配最新的constaintlayout所导致的,建议可以升级一下。

如果你们不愿意升级constaintlayout的话,也可以忽略Glance中指定的constaintlayout的版本,具体用法是这样写:

debugImplementation('com.glance.guolindev:glance:1.0.0-alpha01') { exclude group: 'androidx.constraintlayout', module: 'constraintlayout' }

这样就还会以你们项目中引入的1.1.3版本为准,但是Glance在1.1.3的constrintlayout中是否还能正常显示,这个我是不确定的,你可以动手试一下。

当然我最推荐的做法还是让你们项目适配最新的constaintlayout版本。

from glance.

Thinkan avatar Thinkan commented on May 18, 2024

看起来应该是constraintlayout版本问题导致的,我忽略Glance中指定的constaintlayout的版本后问题解决了。后面会考虑适配新版constaintlayout的,感谢您的解答,谢谢。

from glance.

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.