title: Android: How To include project in Settings.gradle
body: <p>Following my project directory structure:</p>
  
  <pre><code>dev/
     android/
             apps/ 
                  project2
     project1
  </code></pre>
  
  <p>I want to include project 1 in my project 2. So I am trying to add this project in my settings.gradle file. Following is the content of my settings.gradle file:</p>
  
  <pre><code>include ‘:project2', ‘dev:project1'
  project('../../..project1').projectDir = new File(settingsDir, ‘:project1’)
  </code></pre>
  
  <p>build.gradle file:</p>
  
  <pre><code>dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile project('../client/project1')
  }
  </code></pre>
  
  <p>When I try to build my project it gives me this error:</p>
  
  <pre><code>Error:Project with path '../../.. project1' could not be found.
  </code></pre>