title: Hilt integration crashes application MainActivity_GeneratedInjector
body: <p>Trying to integrate hilt using android Api Documentation but app crashed with following exception. <a href="https://developer.android.com/training/dependency-injection/hilt-android" rel="noreferrer">https://developer.android.com/training/dependency-injection/hilt-android</a></p>
  <pre><code>java.lang.RuntimeException: Unable to start activity 
  ComponentInfo{com.package.application/com.package.application.MainActivity}: 
  
  java.lang.ClassCastException: com.package.application.DaggerAppApplication_HiltComponents_ApplicationC$ActivityRetainedCImpl$ActivityCImpl 
  cannot be cast to com.package.application.MainActivity_GeneratedInjector
  
     
  </code></pre>