-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when running tests with coverage #62
Comments
This is from the IDE's built-in coverage tool, right? As opposed to a Jacoco Gradle plugin or something? What version of the IDE and AGP are you using? Does the same thing happen with Kotlin 1.5.0 and 1.5.21? I'm on vacation right now so it's gonna take me awhile to look at this closely. |
Correct. The issue appears only when using built-in coverage tool even if Coverage runner is set to Jacoco.
Both Kotlin 1.5.0 and 1.5.21. Also tried AGP 4.2.1 and 4.2.2. Android Studio v4.2.2 but I remember having this issue in earlier versions too.
Have a good rest then! |
Just tried this again. There is still a "Project is out of Date" popup, but thankfully it's less intrusive. I was hoping to take another crack at this by seeing what the updated stacktrace is, but there doesn't appear to be a stacktrace anymore. |
When running unit tests with coverage in Android Studio I'm getting the following error dialog:
After clicking OK the following error message appears in Build Output tab (though coverage also appears as expected):
Kotlin: 1.5.10/1.5.21
Poko: 0.8.1
AGP: 4.2.1/4.2.2
Android Studio: Android Studio 4.2.2 - Build #AI-202.7660.26.42.7486908, built on June 24, 2021
The text was updated successfully, but these errors were encountered: