title: nosuchmethod error but method exists when i use provided in android
body: <p>I have a module A it has a function </p>
  
  <pre><code>public boolean a () {
     ...
  }
  </code></pre>
  
  <p>and then I provided module A in module B and use a() such as </p>
  
  <pre><code>public void b () {
     a()
  }
  </code></pre>
  
  <p>and then I compile A and B in module C, in module C</p>
  
  <pre><code> public void c()  {
  
  
     b()
  
   }
  </code></pre>
  
  <p>and its build successful.</p>
  
  <p>but when I change a() returned value in module A, such as </p>
  
  <pre><code>public String a() {
  }
  </code></pre>
  
  <p>and when I run module c, it occurs a problem nosuchmethoderror(no virtual method a()Z)</p>
  
  <p>but when I rebuild module B and module C, it works successfully.</p>
  
  <p>So how did provided worked?</p>