title: Adding sub module to project causing gradle build failures in Android studio 3.0 with gradle version 4.1
body: <p>I added sub module library vertical-stepper-form version 0.9.8, while I set dependency of this library on my app module. I was able to do it successfully.</p>
  
  <p>I am using Android Studio 3.0 with gradle version 4.1, few of the classes in project are in kotlin and others in java</p>
  
  <p>When I started gradle sync it gave me this error. The gradle is not building and showing below issues :</p>
  
  <p>/*********************************/</p>
  
  <blockquote>
    <p>Information:Gradle tasks [:vertical-stepper-form:generateDebugSources,
    :vertical-stepper-form:generateDebugAndroidTestSources,
    :vertical-stepper-form:mockableAndroidJar,
    :app:generateInstallDebugSources,
    :app:generateInstallDebugAndroidTestSources, :app:mockableAndroidJar]
    D:\Devavrata\project/package/src/main/res/abc.xml Error:error:
    attribute 'com.spireon.install:src' not found.
    D:\Devavrata\AbcProject\abc-Android\app\build\intermediates\incremental\mergeInstallDebugResources\stripped.dir\layout\activity_main.xml
    Error:attribute 'com.spireon.install:src' not found. Error:failed
    linking file resources. Error:java.util.concurrent.ExecutionException:
    java.util.concurrent.ExecutionException:
    com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for
    details Error:java.util.concurrent.ExecutionException:
    com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for
    details Error:com.android.tools.aapt2.Aapt2Exception: AAPT2 error:
    check logs for details Error:Execution failed for task
    ':app:processInstallDebugResources'.</p>
    
    <blockquote>
      <p>Failed to execute aapt Information:BUILD FAILED in 24s Information:7 errors Information:0 warnings Information:See complete output in
      console</p>
    </blockquote>
  </blockquote>
  
  <p>/********************************/</p>
  
  <p>What I have already tried :</p>
  
  <ul>
  <li><p>I tried with changing import lines in xml also changing the android:src and srcCompat properties. Along with build/project cleaning and invalidating the cache.</p></li>
  <li><p>Changing this line in gradle.properties</p>
  
  <pre><code>      android.enableAapt2=false
  </code></pre></li>
  </ul>
  
  <p>Let me know if anyone has faced this issue</p>