title: generating code coverage report for android test project
body: <p>i am trying to get a coverage report for my android junit test project and following <a href="http://blog.rabidgremlin.com/2010/11/19/android-tips-generating-a-coverage-report-for-your-unit-tests/" rel="nofollow">this guide</a> to do so </p>
  
  <pre><code>android update test-project -m &lt;path to app project&gt; -p &lt;path to test project&gt;
  </code></pre>
  
  <p>worked fine. it generated a build.xml and updated project.properties,
  local.properties and proguard.cfg.</p>
  
  <p>but when I change directory to test project directory and enter command </p>
  
  <pre><code>ant coverage
  </code></pre>
  
  <p>it gives me this error.</p>
  
  <pre><code>BUILD FAILED
  Target "coverage" does not exist in the project "My Project Test".
  
  Total time: 0 seconds
  </code></pre>
  
  <p>I am using windows xp.</p>