I'm facing unresolved reference: DaggerApplicationComponent I've tried rebuild project and not worked. Every solution that I found none worked.
This is my imports
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-android-extensions'
// Dagger 2
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:1.1.4-3"
compileOnly 'javax.annotation:jsr250-api:1.0'
implementation 'com.google.dagger:dagger-android:2.15'
implementation 'com.google.dagger:dagger-android-support:2.15'
kapt 'com.google.dagger:dagger-android-processor:2.15'
kapt 'com.google.dagger:dagger-compiler:2.15'
}