You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered an issue while upgrading Dagger Hilt from version 2.48 to 2.49. Upon attempting the upgrade, the following error was thrown:
Unable to load class 'dagger.spi.shaded.androidx.room.compiler.processing.javac.JavacBasicAnnotationProcessor'
dagger.spi.shaded.androidx.room.compiler.processing.javac.JavacBasicAnnotationProcessor
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
- Re-download dependencies and sync project (requires network)
- The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
- Stop Gradle build processes (requires restart)
- Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.
Project Setup:
In project.gradle:
plugins {
...
id 'com.google.dagger.hilt.android' version '2.48' apply false
...
}
The project setup and dependency configuration are consistent across modules, and this issue appears only after attempting to upgrade to 2.49.
Could you please provide guidance on how to resolve this issue? Any insights or suggestions to troubleshoot and fix the problem would be greatly appreciated.
Thank you!
The text was updated successfully, but these errors were encountered:
Hi, @HashemDeveloper , this could happen if your Hilt Gradle Plugin version doesn't match the other Hilt dependencies. For example, in your project.gradle you could still be using 2.48 instead of 2.49:
id 'com.google.dagger.hilt.android' version '2.48' apply false
Hi Dagger Hilt Team,
I encountered an issue while upgrading Dagger Hilt from version 2.48 to 2.49. Upon attempting the upgrade, the following error was thrown:
Project Setup:
In project.gradle:
In all other app module.gradle files:
The project setup and dependency configuration are consistent across modules, and this issue appears only after attempting to upgrade to 2.49.
Could you please provide guidance on how to resolve this issue? Any insights or suggestions to troubleshoot and fix the problem would be greatly appreciated.
Thank you!
The text was updated successfully, but these errors were encountered: