title: java.lang.IllegalArgumentException: already added: Lorg/hamcrest/BaseDescription; Conversion to Dalvik format failed with error 1
body: <p>First of all, there are at least 2 postings with the same problem but these solutions don't work anymore, at least not in my installation.</p>
  
  <p>I'm using m2e with Eclipse and Android and tried to run the application as "Android Application" by selecting run as->Android application, but I always get this error:</p>
  
  <blockquote>
    <p>UNEXPECTED TOP-LEVEL EXCEPTION: java.lang.IllegalArgumentException:
    already added: Lorg/hamcrest/BaseDescription;<br>
    . . .</p>
    
    <p>[2012-09-08 19:50:41 - net.mydomain.project-TRUNK] Conversion to
    Dalvik format failed with error 1</p>
  </blockquote>
  
  <p>It's the problem described <a href="http://tools.android.com/knownissues">here in Tools R14 section</a>. First of all, this cannot be fixed because I have this issue in ADT 20.0.3. Secondly, I don't have these so called "_src" folders. I've never seen them in a Maven project before, so I don't know what I should do now. I don't even have any libraries linked twice. At least I don't see some in my project. Any ideas how to get this working?</p>
  
  <p>Here is my pom.xml if this helps:</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;net.devgems.android&lt;/groupId&gt;
      &lt;artifactId&gt;kurzparkzonewien&lt;/artifactId&gt;
      &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
      &lt;packaging&gt;apk&lt;/packaging&gt;
      &lt;name&gt;kurzparkzonewien&lt;/name&gt;
  
      &lt;properties&gt;
          &lt;platform.version&gt;1.6_r2&lt;/platform.version&gt;
          &lt;android.sdk.path&gt;/opt/android-sdk-linux&lt;/android.sdk.path&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
          &lt;project.reporting.outputEncoding&gt;UTF-8&lt;/project.reporting.outputEncoding&gt;
      &lt;/properties&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;${platform.version}&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;com.googlecode.json-simple&lt;/groupId&gt;
              &lt;artifactId&gt;json-simple&lt;/artifactId&gt;
              &lt;version&gt;1.1.1&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;commons-io&lt;/groupId&gt;
              &lt;artifactId&gt;commons-io&lt;/artifactId&gt;
              &lt;version&gt;2.0.1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;!-- Make sure this is below the android dependencies --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.pivotallabs&lt;/groupId&gt;
              &lt;artifactId&gt;robolectric&lt;/artifactId&gt;
              &lt;version&gt;1.0-RC1&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;junit&lt;/groupId&gt;
              &lt;artifactId&gt;junit&lt;/artifactId&gt;
              &lt;version&gt;4.10&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  
      &lt;build&gt;
          &lt;outputDirectory&gt;target/classes&lt;/outputDirectory&gt;
          &lt;testOutputDirectory&gt;target/test-classes&lt;/testOutputDirectory&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.1.1&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;androidManifestFile&gt;${project.basedir}/AndroidManifest.xml&lt;/androidManifestFile&gt;
                      &lt;assetsDirectory&gt;${project.basedir}/assets&lt;/assetsDirectory&gt;
                      &lt;resourceDirectory&gt;${project.basedir}/res&lt;/resourceDirectory&gt;
                      &lt;nativeLibrariesDirectory&gt;${project.basedir}/src/main/native&lt;/nativeLibrariesDirectory&gt;
                      &lt;sdk&gt;
                          &lt;platform&gt;4&lt;/platform&gt;
                          &lt;path&gt;${android.sdk.path}&lt;/path&gt;
                      &lt;/sdk&gt;
                      &lt;undeployBeforeDeploy&gt;true&lt;/undeployBeforeDeploy&gt;
                  &lt;/configuration&gt;
                  &lt;extensions&gt;true&lt;/extensions&gt;
              &lt;/plugin&gt;
  
              &lt;plugin&gt;
                  &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.3.2&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;source&gt;1.6&lt;/source&gt;
                      &lt;target&gt;1.6&lt;/target&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
     &lt;/project&gt;
  </code></pre>
  
  <p>I'm using Eclipse Juno, ADT 20.0.3, m2e 1.1.0.</p>