title: DaggerApplicationComponent not compiled
body: <p>I'm using the latest beta of android studio 3 (currently beta 4), and I can't seem to get it to generate the dagger classes needed.</p>
  
  <p>From my side I created an empty project. Then I renamed the activity to match the dagger notes, YourActivity. See "Injecting Activity objects" in <a href="https://google.github.io/dagger/android.html" rel="noreferrer">https://google.github.io/dagger/android.html</a>, which shows this:</p>
  
  <pre><code>@Subcomponent(modules = ...)
  public interface YourActivitySubcomponent extends AndroidInjector&lt;YourActivity&gt; {
    @Subcomponent.Builder
    public abstract class Builder extends AndroidInjector.Builder&lt;YourActivity&gt; {}
  }
  
  @Module(subcomponents = YourActivitySubcomponent.class)
  abstract class YourActivityModule {
    @Binds
    @IntoMap
    @ActivityKey(YourActivity.class)
    abstract AndroidInjector.Factory&lt;? extends Activity&gt;
    bindYourActivityInjectorFactory(YourActivitySubcomponent.Builder builder);
  }
  
  @Component(modules = {..., YourActivityModule.class})
  interface YourApplicationComponent {}
  
  @ActivityScope
  @ContributesAndroidInjector(modules = { /* modules to install into the subcomponent */ })
  abstract YourActivity contributeYourActivityInjector();
  
  public class YourApplication extends Application implements HasActivityInjector {
    @Inject DispatchingAndroidInjector&lt;Activity&gt; dispatchingActivityInjector;
  
    @Override
    public void onCreate() {
      super.onCreate();
      DaggerYourApplicationComponent.create()
          .inject(this);
    }
  
    @Override
    public AndroidInjector&lt;Activity&gt; activityInjector() {
      return dispatchingActivityInjector;
    }
  }
  
  //the renamed activity
  public class YourActivity extends Activity {
  
    public void onCreate(Bundle savedInstanceState) {
      //added this line
      AndroidInjection.inject(this);
  
      super.onCreate(savedInstanceState);
    }
  }
  </code></pre>
  
  <p>I've also added the following from that page for the gradle build app file:</p>
  
  <pre><code>dependencies {
    compile 'com.google.dagger:dagger-android:2.11'
    compile 'com.google.dagger:dagger-android-support:2.11' // if you use the support libraries
    annotationProcessor 'com.google.dagger:dagger-android-processor:2.11'
  }
  </code></pre>
  
  <p>because I was still not seeing anything I tried updating compile to implementation with still no luck, and if you're curious, that looks like:</p>
  
  <pre><code>dependencies {
    implementation 'com.google.dagger:dagger-android:2.11'
    implementation 'com.google.dagger:dagger-android-support:2.11' // if you use the support libraries
    annotationProcessor 'com.google.dagger:dagger-android-processor:2.11'
  }
  </code></pre>
  
  <p>Also, I've found the default setting where I can turn on the default <code>Build</code> -> <code>Compiler</code> -> <code>Annotation Processors</code> to Enable it. I did this before creating the new project.</p>
  
  <p>After all of this, nothing seems to work. Is this broken in <code>android studio 3.x</code>? If not how did you get it work? </p>
  
  <p>Thanks,
  Kelly</p>