I\'m trying to make jacoco create a code coverage report for my android test project. I have the following in build.gradle:
apply plugin: \'com.android.appli
I found a solution to same problem from Jacoco code coverage in Android Studio with flavors. It has example what to do in case coverage.ec is generated instead of testDebug.exec.
I created the jacocoTestReport task.
I executed $./gradlew createDebugCoverageReport which generates the coverage.ec file
$./gradlew jacocoTestReport and that creates the HTML.