title: Android+Maven "No resource identifier found for attribute 'installLocation' in package 'android'"
body: <p>To add support to my android app for <code>installLocation</code> I upped my android level from 7 to 8 in my IDE (IntelliJ). The android app builds fine from IntelliJ.</p>
  
  <p>We use maven though, and from Maven it fails to compile.</p>
  
  <pre><code>[ERROR] C:\dev\svnlocal\5x\android\AndroidManifest.xml:3: error: No resource identifier found for attribute 'installLocation' in package 'android'
  [ERROR] Error when generating sources.
  </code></pre>
  
  <p>I've also added</p>
  
  <pre><code>&lt;uses-sdk android:minSdkVersion="7" android:targetSdkVersion="8"/&gt;
  </code></pre>
  
  <p>I keep getting</p>
  
  <pre><code>No resource identifier found for attribute 'installLocation' in package 'android'
  </code></pre>
  
  <p>I'd changed my dependency from</p>
  
  <pre><code>&lt;dependency&gt;
    &lt;groupId&gt;android&lt;/groupId&gt;
    &lt;artifactId&gt;android&lt;/artifactId&gt;
    &lt;version&gt;2.1_r1&lt;/version&gt;
    &lt;scope&gt;provided&lt;/scope&gt;    
  &lt;/dependency&gt;
  </code></pre>
  
  <p>to </p>
  
  <pre><code>&lt;dependency&gt;
    &lt;groupId&gt;com.google.android&lt;/groupId&gt;
    &lt;artifactId&gt;android&lt;/artifactId&gt;
    &lt;version&gt;2.2.1&lt;/version&gt;
    &lt;scope&gt;provided&lt;/scope&gt;    
  &lt;/dependency&gt;
  </code></pre>
  
  <p>But I was still getting this error message.</p>
  
  <p>What's missing?</p>