Hi everyone,
I'm trying to implement Jacoco into my android studio app and get manual testing code coverage data with it using the Java Agent. Has anyone done this or know how to do/approach this? I don't believe Maven/Ant allow manual testing, not sure about Gradle but trying to avoid if possible.
What i've seen so far is that you must add a Java Agent to get the data but when I run:
java -javaagent:/path/jacocoagent.jar
I get an error saying
Error occurred during initialization of VM
agent library failed Agent_OnLoad: instrument
Any help would be appreciated!