Jacoco coverage does not work with the latest Android plugin.

I get this error below after updating the Android gradle plugin.

Execution failed for task ': Application: jacocoTestReport'.

Unable to read runtime data file / assembly / exits / code coverage /connected/coverage.ec

jacoco version = "0.7.6.201602180812"

Android plugin version: 'com.android.tools.build: gradle: 2.1.0'

Is there a problem with the latest plugin?

+4
source share
1 answer

try changing the version to toolVersion = "0.7.4+". it worked for me.

0
source

All Articles