-2

I'm following the tutorial https://www.youtube.com/watch?v=oyFhqydqLzM&t=484s in the minute 7:31, but in my project, I have a problem and don't detect the Dagger component,

I attached the picture

enter image description here

the dependencies that I am using

annotationProcessor 'com.google.dagger:dagger-compiler:2.2'
compile 'com.google.dagger:dagger:2.0'
provided 'org.glassfish:javax.annotation:10.0-b28'`
Jaymin
  • 2,879
  • 3
  • 19
  • 35
kevinecd
  • 1
  • 1

2 Answers2

0

Dagger code is generated, simply try to Build project.

Peter Samokhin
  • 864
  • 1
  • 9
  • 19
0

Dagger create classes at compile time, so this is just temporary error. You need to run your application, it will get remove automatically.

Jyot
  • 540
  • 5
  • 17