title: How to supply Jacoco agent to an Android app?
body: <p>I am trying to get code coverage using Jacoco for manual testing. I am trying to use offline instrumentation. <a href="http://www.eclemma.org/jacoco/trunk/doc/offline.html" rel="nofollow">http://www.eclemma.org/jacoco/trunk/doc/offline.html</a></p>
  
  <p>In there it mentions:
  <strong>Configuration File:</strong> If a file <code>jacoco-agent.properties</code> is supplied on the classpath options are loaded from this file.</p>
  
  <p>My question is how do I supply this? On some other forum, I saw that <code>jacoco-agent.properties</code> needs to be deployed with the app.</p>
  
  <p>I tried putting <code>jacoco-agent.properties</code> under the res/raw, but it complained about "-" in the file name. </p>
  
  <p>I tried putting this under the root directory it didn't take any effect. </p>
  
  <p>I was wondering how could I setup\run jacoco so that it uses <code>jacoco-agent.properties</code>?</p>