Giter Site home page Giter Site logo

报错ClassCastException about keyvaluex HOT 3 CLOSED

MmingY avatar MmingY commented on May 24, 2024
报错ClassCastException

from keyvaluex.

Comments (3)

KunMinX avatar KunMinX commented on May 24, 2024

试试 keyvalue 的依赖放在定义 keyvalue 接口的 module,例如 app module。

from keyvaluex.

MmingY avatar MmingY commented on May 24, 2024

您好哈,依赖我是放在app module中的哈,我也是在app module中使用 的哈~这个会不会是和gradle的版本有关呢?我的项目用的是最新的gradle。

from keyvaluex.

KunMinX avatar KunMinX commented on May 24, 2024

也是,还没懂你的使用环境哈。例如你可以看下,是不是使用 kotlin 的缘故。
kotlin 对注解解析器的依赖,是通过 kapt,而不是 annotationProcessor

implementation 'com.github.KunMinX.KeyValueX:keyvalue:3.6.0-beta'
kapt 'com.github.KunMinX.KeyValueX:keyvalue-compiler:3.6.0-beta'

from keyvaluex.

Related Issues (7)

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.