title: Can not build android project using Maven-Android-Plugin
body: <p>I was just trying to build my android project using Maven-Android-Plugin. But it's giving following error:</p>
  
  <pre><code>F:\Android\AsyncTaskSample&gt;mvn clean install
  [INFO] Scanning for projects...
  [INFO]
  [INFO] ------------------------------------------------------------------------
  [INFO] Building AsyncTaskSample 1.0
  [INFO] ------------------------------------------------------------------------
  [INFO]
  [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ asynctasksample ---
  [INFO] Deleting F:\Android\AsyncTaskSample\target
  [INFO]
  [INFO] --- android-maven-plugin:3.5.0:generate-sources (default-generate-sources) @ asynctasksample ---
  [INFO] ANDROID-904-002: Found aidl files: Count = 0
  [INFO] ANDROID-904-002: Found aidl files: Count = 0
  [INFO] Manifest merging disabled. Using project manifest only
  [INFO] E:\Nitin\Android-SDK\Android\android-sdk\platform-tools\aapt.exe [package, -m, -J, F:\Android\AsyncTaskSample\target\generated-sources\r, -M, F:\Android\AsyncTaskSample\AndroidManifest.xml, -S, F:\Android\AsyncTaskSample\res, --auto-add-overlay, -A, F:\Android\AsyncTaskSample\assets, -I, E:\Nitin\Android-SDK\Android\android-sdk\platforms\android-4\android.jar]
  [INFO] F:\Android\AsyncTaskSample\res\values-v11\styles.xml:3: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light'.
  [ERROR] Error when generating sources.
  org.apache.maven.plugin.MojoExecutionException:
          at com.jayway.maven.plugins.android.phase01generatesources.GenerateSourcesMojo.generateR(GenerateSourcesMojo.java:468)
          at com.jayway.maven.plugins.android.phase01generatesources.GenerateSourcesMojo.execute(GenerateSourcesMojo.java:193)
          at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
          at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
          at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
          at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
          at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
          at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
          at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
          at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
  Caused by: com.jayway.maven.plugins.android.ExecutionException: ANDROID-040-001: Could not execute: Command = cmd.exe /X /C "E:\Nitin\Android-SDK\Android\android-sdk\platform-tools\aapt.exe package -m -J F:\Android\AsyncTaskSample\target\generated-sources\r -M F:\Android\AsyncTaskSample\AndroidManifest.xml -S F:\Android\AsyncTaskSample\res --auto-add-overlay -A F:\Android\AsyncTaskSample\assets -I E:\Nitin\Android-SDK\Android\android-sdk\platforms\android-4\android.jar", Result = 1
          at com.jayway.maven.plugins.android.CommandExecutor$Factory$1.executeCommand(CommandExecutor.java:339)
          at com.jayway.maven.plugins.android.phase01generatesources.GenerateSourcesMojo.generateR(GenerateSourcesMojo.java:464)
          ... 22 more
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 4.427s
  [INFO] Finished at: Wed Jan 09 16:58:50 IST 2013
  [INFO] Final Memory: 6M/15M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.5.0:generate-sources (default-generate-sources) on project asynctasksample: MojoExecutionException: ANDROID-040-001: Could not execute: Command = cmd.exe /X /C "E:\Nitin\Android-SDK\Android\android-sdk\platform-tools\aapt.exe package -m -J F:\Android\AsyncTaskSample\target\generated-sources\r -M F:\Android\AsyncTaskSample\AndroidManifest.xml -S F:\Android\AsyncTaskSample\res --auto-add-overlay -A F:\Android\AsyncTaskSample\assets -I E:\Nitin\Android-SDK\Android\android-sdk\platforms\android-4\and
  roid.jar", Result = 1 -&gt; [Help 1]
  [ERROR]
  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  [ERROR]
  [ERROR] For more information about the errors and possible solutions, please read the following articles:
  [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  F:\Android\AsyncTaskSample&gt;
  </code></pre>
  
  <p>The pom.xml content is as follows:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;groupId&gt;com.example&lt;/groupId&gt;
      &lt;artifactId&gt;asynctasksample&lt;/artifactId&gt;
      &lt;version&gt;1.0&lt;/version&gt;
      &lt;packaging&gt;apk&lt;/packaging&gt;
      &lt;name&gt;AsyncTaskSample&lt;/name&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.google.android&lt;/groupId&gt;
              &lt;artifactId&gt;android&lt;/artifactId&gt;
              &lt;version&gt;1.6_r2&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
      &lt;build&gt;
          &lt;finalName&gt;${project.artifactId}&lt;/finalName&gt;
          &lt;sourceDirectory&gt;src&lt;/sourceDirectory&gt;
          &lt;pluginManagement&gt;
              &lt;plugins&gt;
                  &lt;plugin&gt;
                      &lt;groupId&gt;com.jayway.maven.plugins.android.generation2&lt;/groupId&gt;
                      &lt;artifactId&gt;android-maven-plugin&lt;/artifactId&gt;
                      &lt;version&gt;3.5.0&lt;/version&gt;
  
                      &lt;extensions&gt;true&lt;/extensions&gt;
                  &lt;/plugin&gt;
              &lt;/plugins&gt;
          &lt;/pluginManagement&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;com.jayway.maven.plugins.android.generation2&lt;/groupId&gt;
                  &lt;artifactId&gt;android-maven-plugin&lt;/artifactId&gt;
                  &lt;configuration&gt;
                      &lt;sdk&gt;
                          &lt;!-- platform or api level (api level 4 = platform 1.6)--&gt;
                          &lt;platform&gt;4&lt;/platform&gt;
                      &lt;/sdk&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>The settings.xml file contents @ "C:\Users\rsahu.m2" is as follows:</p>
  
  <pre><code>&lt;settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
              http://maven.apache.org/xsd/settings-1.0.0.xsd"&gt;
          &lt;pluginGroups&gt;
              &lt;pluginGroup&gt;com.jayway.maven.plugins.android.generation2&lt;/pluginGroup&gt;
          &lt;/pluginGroups&gt;
          &lt;profiles&gt;
              &lt;profile&gt;
                  &lt;id&gt;android&lt;/id&gt;
                  &lt;properties&gt;
                      &lt;android.sdk.path&gt;
                          E:\Nitin\Android-SDK\Android\android-sdk
                      &lt;/android.sdk.path&gt;
                  &lt;/properties&gt;
              &lt;/profile&gt;
          &lt;/profiles&gt;
          &lt;activeProfiles&gt;
              &lt;!--make the profile active all the time --&gt;
              &lt;activeProfile&gt;android&lt;/activeProfile&gt;
          &lt;/activeProfiles&gt;
      &lt;/settings&gt;
  </code></pre>
  
  <p>By looking into above file contents, is it possible to resolve the issue!!! Please let me know. Thanks.</p>