title: Unresolved reference DaggerApplicationComponent
body: <p>I'm trying to create my app component, but Dagger does not generate my app component.
  here is <strong>MyApplication</strong> class </p>
  
  <pre><code>class MyApplication : Application() {
  
  companion object {
      @JvmStatic lateinit var graph: ApplicationComponent
  }
  @Inject
  lateinit var locationManager : LocationManager
  
  override fun onCreate() {
      super.onCreate()
      graph = DaggerApplicationComponent.builder().appModule(AppModule(this)).build()
      graph.inject(this)
    }
  }
  </code></pre>
  
  <p>and here is my <strong>AppComponent</strong> class</p>
  
  <pre><code>@Singleton
  @Component(modules = arrayOf(AppModule::class))
  interface ApplicationComponent {
      fun inject(application: MyApplication)
  }
  </code></pre>
  
  <p>here is screenshot
  <a href="https://i.stack.imgur.com/AxXDQ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/AxXDQ.png" alt="enter image description here"></a></p>
  
  <p>this is my <a href="https://github.com/developer--/Where_is_WIFI" rel="noreferrer">project</a> on <strong>github</strong></p>
  
  <p>here is error log</p>
  
  <pre><code>Error:(7, 48) Unresolved reference: DaggerApplicationComponent
  Error:(28, 17) Unresolved reference: DaggerApplicationComponent
  Error:Execution failed for task ':app:compileDebugKotlin'.
  &gt; Compilation error. See log for more details
  Information:BUILD FAILED
  Information:Total time: 21.184 secs
  Error:e: .../MyApplication.kt: (7, 48): Unresolved reference: DaggerApplicationComponent
  e: Unresolved reference: DaggerApplicationComponent
  FAILURE: Build failed with an exception.
  
  * What went wrong:
  Execution failed for task ':app:compileDebugKotlin'.
  &gt; Compilation error. See log for more details
  
  * Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
  
  Information:4 errors
  Information:0 warnings
  Information:See complete output in console
  </code></pre>