title: error in returning MembersInjectors.injectMembers
body: <p>I'm working on an Android application which has dagger dependencies. When injecting class through constructor injection it's throwing an error that it cannot find symbol. If I provide the dependency through an @Provides method defined inside a module, everything works fine.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>import java.util.List;
  import rx.Observable;
  import rx.Observer;
  import javax.inject.Inject;
  /**
   * Created by ibrahim on 22/05/18.
   * get injected View that MainView
   */
  public class BakePresenter extends BasePresenter&lt;MainView&gt; implements Observer&lt;BakingResponse&gt; {
  
  
    @Inject
    protected BakeApiService mApiService;
  
    @Inject
    protected BakeMapper mBakeMapper;
  
    @Inject
    public BakePresenter() {
      }
      public void geBaking() {
        getView().onShowDialog("Loading.....");
  
        Observable&lt;BakingResponse&gt; bakePresenterObservable= mApiService.getBake();
        subscribe(bakePresenterObservable,this);
    }
  
    @Override
    public void onCompleted() {
      getView().onShowToast();
      getView().onHideDialog("Loading completed.....");
  
    }
  
    @Override
    public void onError(Throwable e) {
      getView().onShowToast();
      getView().onHideDialog("Loading error....."+String.valueOf(e.getMessage()));
  
    }
  
    @Override
    public void onNext(BakingResponse bakingResponse) {
      List&lt;Bake&gt; bakeList= mBakeMapper.mapBake(bakingResponse);
      getView().onBakeLoaded(bakeList);
    }
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>this is Bakemodule class </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>@Module
  public class BakeModule {
  
      private MainView mView;
  
      public BakeModule (MainView view){
          this.mView=view;
      }
  
  
      @PreActivity
      @Provides
      MainView provideMainView(){
          return mView;
      }
  
   
      BakeApiService provideBakeApiService(Retrofit retrofit){
          return retrofit.create(BakeApiService.class);
      }
     
      @PreActivity
      @Provides
      public BakeApiService bakeApiService(final MembersInjector&lt;BakeApiService&gt; injector, final Retrofit retrofit) {
          Log.d("service", "station service created");
          BakeApiService bakeApiService = provideBakeApiService(retrofit) ;
  
          injector.injectMembers(bakeApiService);
          return bakeApiService;
      }
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>this is BakeComponent</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>@PreActivity
  @Component (modules = BakeModule.class,dependencies = ApplicationComponent.class)
  public interface BakeComponents {
  
      /**
       * @param activity the Components want inject into inside MainActivity
       */
  
  
      void inject(MainActivity activity);
      MainView gMainView();
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>this is error </p>
  
  <p><a href="https://i.stack.imgur.com/ljZ2X.png" rel="nofollow noreferrer">this image for all class with error</a></p>
  
  <p>this is build.gradle
  <div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>apply plugin: 'com.android.application'
  
  
  android {
      compileOptions.incremental = false
  
      compileSdkVersion 27
      defaultConfig {
          applicationId "com.ibrahim.baking_app"
          minSdkVersion 15
          targetSdkVersion 27
          versionCode 1
          versionName "1.0"
          testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
          javaCompileOptions {
              annotationProcessorOptions {
                  includeCompileClasspath true
              }
          }
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
  
      }
      dataBinding {
          enabled = true
      }
  }
  
  dependencies {
  // Other dependencies should go here
  
  
      implementation fileTree(dir: 'libs', include: ['*.jar'])
      implementation 'com.android.support:appcompat-v7:27.1.1'
  
  
  
      implementation 'com.android.support:appcompat-v7:27.1.1'
      implementation 'com.android.support:recyclerview-v7:27.1.1'
      implementation 'com.android.support:cardview-v7:27.1.1'
      implementation 'com.squareup.retrofit2:retrofit:2.4.0'
      implementation 'com.squareup.okhttp:okhttp:2.7.2'
      implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
      implementation 'com.squareup.retrofit2:adapter-rxjava:2.4.0'
      implementation 'io.reactivex:rxjava:1.3.0'
      implementation 'io.reactivex:rxandroid:1.2.1'
      implementation 'com.github.bumptech.glide:glide:4.7.1'
  
      compileOnly 'org.glassfish:javax.annotation:10.0-b28'
      implementation "com.google.dagger:dagger:2.14.1"
      compileOnly 'javax.annotation:jsr250-api:1.0'
      compile 'javax.inject:javax.inject:1'
      annotationProcessor 'com.google.dagger:dagger-compiler:2.11'
      compileOnly 'org.glassfish:javax.annotation:10.0-b28'
  
  
      implementation 'com.jakewharton:butterknife:8.8.1'
      implementation 'com.google.code.gson:gson:2.8.2'
      implementation 'com.android.support.constraint:constraint-layout:1.1.0'
      testImplementation 'junit:junit:4.12'
      implementation 'com.android.support:support-annotations:27.1.1'
      annotationProcessor 'com.github.hotchemi:permissionsdispatcher-processor:2.4.0'
  
      //Unit Testing
      androidTestImplementation 'com.android.support.test:runner:1.0.2'
      androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
      androidTestImplementation 'org.mockito:mockito-core:2.18.3'
      androidTestImplementation 'org.powermock:powermock-module-junit4:1.6.2'
      androidTestImplementation 'org.powermock:powermock-api-mockito:1.6.2'
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>buildscript {
      
      repositories {
          google()
          jcenter()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:3.1.2'
          classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
  
  
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
      }
  }
  
  allprojects {
      repositories {
          google()
          jcenter()
      }
  }
  
  task clean(type: Delete) {
      delete rootProject.buildDir
  }</code></pre>
  </div>
  </div>
  </p>