# Collect code coverage during virtual Android device testing

**URL:** <https://discuss.bitrise.io/t/collect-code-coverage-during-virtual-android-device-testing/3002>\
**Category:** Steps\
**Tags:** android, codecov\
**Created:** [October 13, 2017, 12:55pm UTC](https://discuss.bitrise.io/t/collect-code-coverage-during-virtual-android-device-testing/3002 "2017-10-13T12:55:15Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![b.kopiske](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/b.kopiske/32/2822_2.png) [@b.kopiske](https://discuss.bitrise.io/u/b.kopiske)\
**Post date:** [March 20, 2020, 12:08pm UTC](https://discuss.bitrise.io/t/collect-code-coverage-during-virtual-android-device-testing/3002/13 "2020-03-20T12:08:00Z")

</div>

At least I can tell you that I have exactly the same problem. I was thinking about executing the tests manually on Firebase Test Labs to get access to the files stored on the test machines. Maybe that way I can find out more what’s going on.

But I think it would be really helpful to get a statement here from @bitce or other bitrise staff members since this should be common problem when working with the new Virtual Device Testing feature. I’ve another post where I tried to work around that using the AVD Manager, but also without success (and I’d rather use the VDT instead of AVD in terms of conviencene and execution speed).

> [@Using AVD Manager to run test suite for reporting to SonarQube fails](http://discuss.bitrise.io/t/using-avd-manager-to-run-test-suite-for-reporting-to-sonarqube-fails/12193):
>
> Help required: Proper way to push combined code coverage of unit, robolectric- and instrumented-tests to SonarQube Description of the issue I’ve created a jacocoTestReport and a sonarqube gradle task. I can execute them locally on my machine and push a combined coverage report for the complete test suite, i.e. unit-, robolectric- and instrumented tests. The instrumented tests run on a locally spawned Android emulator. The psuh to SonarQube is successful and includes the complete coverage repor…

---

_[View the full topic](https://discuss.bitrise.io/t/collect-code-coverage-during-virtual-android-device-testing/3002)._
