title: Dagger 2, sometimes on compiling I get "cannot find symbol class DaggerApplicationComponent"
body: <p>Recent after update Android Studio (2.0.7) (maybe this is the cause) sometimes when building i get that error.</p>
  
  <p>Idea is that usually compilation goes well but sometimes I get dagger error.</p>
  
  <p>Is possible that is problem in Dagger configuration?</p>
  
  <p>Error itself: </p>
  
  <p><code>
  Executing tasks: [:app:assembleDebug]</p>
  
  <p>Configuration on demand is an incubating feature.
  Incremental java compilation is an incubating feature.
  :app:preBuild UP-TO-DATE
  :app:preDebugBuild UP-TO-DATE
  :app:checkDebugManifest
  :app:preReleaseBuild UP-TO-DATE
  :app:prepareComAndroidSupportAppcompatV72311Library UP-TO-DATE
  :app:prepareComAndroidSupportDesign2311Library UP-TO-DATE
  :app:prepareComAndroidSupportMultidex101Library UP-TO-DATE
  :app:prepareComAndroidSupportRecyclerviewV72311Library UP-TO-DATE
  :app:prepareComAndroidSupportSupportV42311Library UP-TO-DATE
  :app:prepareComDaimajiaSwipelayoutLibrary120Library UP-TO-DATE
  :app:prepareComF2prateekRxPreferencesRxPreferences101Library UP-TO-DATE
  :app:prepareComGithubAakiraExpandableLayout141Library UP-TO-DATE
  :app:prepareComGithubAfollestadMaterialDialogsCore0842Library UP-TO-DATE
  :app:prepareComGithubCastorflexSmoothprogressbarLibraryCircular120Library UP-TO-DATE
  :app:prepareComJakewhartonRxbindingRxbinding030Library UP-TO-DATE
  :app:prepareComPnikosisMaterialishProgress17Library UP-TO-DATE
  :app:prepareComTrelloRxlifecycle040Library UP-TO-DATE
  :app:prepareComTrelloRxlifecycleComponents040Library UP-TO-DATE
  :app:prepareComWdullaerMaterialdatetimepicker211Library UP-TO-DATE
  :app:prepareIoReactivexRxandroid110Library UP-TO-DATE
  :app:prepareMeRelexCircleindicator116Library UP-TO-DATE
  :app:prepareMeZhanghaiAndroidMaterialprogressbarLibrary114Library UP-TO-DATE
  :app:prepareDebugDependencies
  :app:compileDebugAidl UP-TO-DATE
  :app:compileDebugRenderscript UP-TO-DATE
  :app:generateDebugBuildConfig UP-TO-DATE
  :app:generateDebugAssets UP-TO-DATE
  :app:mergeDebugAssets UP-TO-DATE
  :app:generateDebugResValues UP-TO-DATE
  :app:generateDebugResources UP-TO-DATE
  :app:mergeDebugResources UP-TO-DATE
  :app:processDebugManifest UP-TO-DATE
  :app:processDebugResources UP-TO-DATE
  :app:generateDebugSources UP-TO-DATE
  :app:compileDebugJavaWithJavac
  /home/ungvas/AndroidDev/Projects/FW/paynet-android/app/src/main/java/md/fusionworks/paynet/ui/activity/BaseActivity.java:23: error: cannot find symbol
  import md.fusionworks.paynet.di.component.DaggerActivityComponent;
                                           ^
    symbol:   class DaggerActivityComponent
    location: package md.fusionworks.paynet.di.component
  /home/ungvas/AndroidDev/Projects/FW/paynet-android/app/src/main/java/md/fusionworks/paynet/PaynetApplication.java:7: error: cannot find symbol
  import md.fusionworks.paynet.di.component.DaggerApplicationComponent;
                                           ^
    symbol:   class DaggerApplicationComponent
    location: package md.fusionworks.paynet.di.component
  2 errors</p>
  
  <p>Incremental compilation of 66 classes completed in 3.719 secs.
  :app:compileDebugJavaWithJavac FAILED
  :app:compileRetrolambdaDebug</p>
  
  <p>FAILURE: Build failed with an exception.</p>
  
  <ul>
  <li><p>What went wrong:
  Execution failed for task ':app:compileDebugJavaWithJavac'.</p>
  
  <blockquote>
    <p>Compilation failed; see the compiler error output for details.</p>
  </blockquote></li>
  <li><p>Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.</p></li>
  </ul>
  
  <p>BUILD FAILED</p>
  
  <p>Total time: 19.556 secs
  </code><br>
  Thanks. </p>