We are using Azure devops for our Android project and noticed that the task PublishCodeCoverageResults couldn't load Jacoco's XML file with a null reference error. I opened an issue developer community in visual studio and they concluded that the problem is with the generator. Issue link.

The XML that they used to investigate is attached too.
134263-testusqaunittestcoveragexml.zip
Thanks for the help.
Will have a look soon.
This issue is already fixed (see #300
The _PublishCodeCoverageResults_ task uses an old version of _ReportGenerator_.
You could use use my Azure DevOps extension to generate the HTML report and disable the regeneration within the _PublishCodeCoverageResults_ task with the following environment variable:
disable.coverage.autogenerate: 'true'
Thanks, and sorry for the trouble.