title: Cannot resolve symbol DaggerAppComponent
body: <p>There is my GitHub project - <a href="https://github.com/alekseytimoshchenko/MVVM_FLOW" rel="nofollow noreferrer">https://github.com/alekseytimoshchenko/MVVM_FLOW</a> that I haven't used a lot of time and today I decided to check it out as a result I faced some compile/Gradle/build issues, so I needed to update some dependency and other things. Eventually looks like everything is ok, however, I got a compile</p>
  <blockquote>
  <p>error: cannot find symbol
  import com.example.krokosha.quizyourself.di.components.DaggerAppComponent;</p>
  </blockquote>
  <p>This likely happens due to some specific dependencies or their version, I went through a few answers here on SO, but looks like everything is correct, but still, this class is not generated.</p>
  <p>If it is suitable you are welcome to take a look at the project by the ref provided above, otherwise, I'll put some code here</p>
  <p>There are my grale dependencies</p>
  <pre><code>...
      //Dependency Injection
      api &quot;com.google.dagger:dagger:2.35.1&quot;
      annotationProcessor &quot;com.google.dagger:dagger-compiler:2.28.3&quot;
      api &quot;com.google.dagger:dagger-android:2.35.1&quot;
      api &quot;com.google.dagger:dagger-android-support:2.28.3&quot; // if you use the support libraries
      annotationProcessor &quot;com.google.dagger:dagger-android-processor:2.28.3&quot;
  ...
  </code></pre>
  <p>and there is my class where I got an error:</p>
  <pre><code>package com.example.krokosha.quizyourself.di;
  
  import android.content.Context;
  
  import com.example.krokosha.quizyourself.di.components.AppComponent;
  import com.example.krokosha.quizyourself.di.components.BaseComponent;
  import com.example.krokosha.quizyourself.di.components.BaseComponentBuilder;
  import com.example.krokosha.quizyourself.di.components.DaggerAppComponent;
  import com.example.krokosha.quizyourself.di.moduls.AppModule;
  import com.example.krokosha.quizyourself.di.moduls.BaseModule;
  
  import java.util.HashMap;
  import java.util.Map;
  
  import javax.inject.Inject;
  import javax.inject.Provider;
  
  public class ComponentsHolder
  {
      private final Context context;
      
      @Inject
      Map&lt;Class&lt;?&gt;, Provider&lt;BaseComponentBuilder&gt;&gt; builders;
      
      private Map&lt;Class&lt;?&gt;, BaseComponent&gt; components;
      private AppComponent appComponent;
      
      public ComponentsHolder(Context context)
      {
          this.context = context;
      }
      
      public ComponentsHolder init()
      {
          appComponent = DaggerAppComponent.builder().appModule(new AppModule(context)).build();
          appComponent.injectComponentsHolder(this);
          components = new HashMap&lt;&gt;();
          return this;
      }
      
      public BaseComponent getBaseComponent(Class&lt;?&gt; cls)
      {
          return getBaseComponent(cls, null);
      }
      
      public BaseComponent getBaseComponent(Class&lt;?&gt; cls, BaseModule module)
      {
          BaseComponent component = components.get(cls);
          
          if (component == null)
          {
              BaseComponentBuilder builder = builders.get(cls).get();
              
              if (module != null)
              {
                  builder.module(module);
              }
              
              component = builder.build();
              components.put(cls, component);
          }
          
          return component;
      }
      
      public void releaseBaseComponent(Class&lt;?&gt; cls)
      {
          components.put(cls, null);
      }
  }
  
  </code></pre>
  <p>What is a possible problem here?</p>