Bradleycorn
06/17/2021, 8:24 PMjacoco
since updating Android Studio to version 4.2.1?
First I could not run unit tests at all, they would error with class not found errors. I was able to resolve that by excluding jdk internal classes (jacoco.excludes = ['jdk.internal.*']
). But now my coverage reports show 0% coverage, and I get a bunch of build output messages saying that “execution data for class xyz does not match”. I cant’ figure out how to solve that one?
It seems to be something in the AGP. If I roll the AGP back to v4.1.3 everything works fine. But as soon as I update to 4.2.0 suddenly I get 0% in my coverage report along with the “execution data for class…” warnings in the build output.kevindmoore
06/17/2021, 11:04 PMkevindmoore
06/17/2021, 11:05 PMBradleycorn
06/17/2021, 11:06 PMBradleycorn
06/22/2021, 7:29 PMkevindmoore
06/22/2021, 7:30 PMBradleycorn
06/22/2021, 7:50 PM