-
Notifications
You must be signed in to change notification settings - Fork 53
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
"Can't add different class with same name" in an Android project with the JACOCO engine #78
Comments
Related to #11 |
I also got this error while using the Jacoco engine, could you elaborate on what's happening here since #11 is not really explaining anything. Thanks! |
@esafirm, if you are writing an Android project, you probably have classes with the same full qualified name in different flavors (or build types). API for limiting flavors is still in development (#18) |
I run into the same issue today. With Kover version 0.3.0 there was no issue though. |
@ptsiogas, the issue is serious and lies in an unsuitable API for Android. As a workaround, you can try to exclude a repeating class from instrumentation. |
Relates #18 |
Closed as a part of #18 |
Steps to reproduce (or use the attached project)
Change the repositoriesMode to RepositoriesMode.PREFER_SETTINGS (because this change isn't in 0.4.2 yet)
Add this class
koverVerify koverHtmlReport
You then see this error:
The text was updated successfully, but these errors were encountered: