Coder Social home page Coder Social logo

Hi! I believe you have to use the same version in the libraries and the gradle plugin. Can you try with: about codelab-android-hilt HOT 4 OPEN

mmn-siddiqui avatar mmn-siddiqui commented on September 26, 2024
Hi! I believe you have to use the same version in the libraries and the gradle plugin. Can you try with:

from codelab-android-hilt.

Comments (4)

th3kumar avatar th3kumar commented on September 26, 2024 3

Go to https://dagger.dev/hilt/gradle-setup and check Hilt currently version

Update: For now, you can use the newest version.

Kotlin:1.7.10 with Hilt:2.42
kotlin:1.6.0 is compatible with hilt:2.40.5
Kotlin 1.5.21 is compatible with Hilt 2.38.

by @Mario-paul Kotlin '1.8.21' with Hilt '2.46.1' compiled with no issue (2023)

from codelab-android-hilt.

Mario-paul avatar Mario-paul commented on September 26, 2024 1

Go to https://dagger.dev/hilt/gradle-setup and check Hilt currently version

Update: For now, you can use the newest version.

Kotlin:1.7.10 with Hilt:2.42 kotlin:1.6.0 is compatible with hilt:2.40.5 Kotlin 1.5.21 is compatible with Hilt 2.38.

For me Kotlin '1.8.21' with Hilt '2.46.1' compiled with no issue (2023)

from codelab-android-hilt.

rameshkumarkhatri avatar rameshkumarkhatri commented on September 26, 2024

I am facing the same issue.
using classpath("com.google.dagger:hilt-android-gradle-plugin:2.38.1")

from codelab-android-hilt.

tridhm-3108 avatar tridhm-3108 commented on September 26, 2024

I facing this problem too and solve this after follow this Stack Overflow. I think your kotlin version is not compatible with Hilt version.

from codelab-android-hilt.

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.