Need help with example-android?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

140 Stars 118 Forks Apache License 2.0 32 Commits 3 Opened issues


Android code coverage example with

Services available


Need anything else?

Contributors list

Build Status FOSSA Status

Codecov Android Example


Travis Setup

If you use Travis CI as your continuous integration server you can configure it to build the project, generate test coverage reports and upload them to Codecov. See an example .travis.yml file on how to do this.

Produce Coverage Reports

Codecov parses uploaded test coverage reports but your project is required to generate them first. You can use jacoco-android-gradle-plugin to create appropriate gradle tasks and run this command to generate the reports:

./gradlew jacocoTestReport

Instrumentation tests coverage reports

Generating instrumentation tests code coverage reports requires a minor change to the build script.

android {
  buildTypes {
    debug {
      testCoverageEnabled true

Running the command below generates the reports:

./gradlew connectedCheck
  1. More documentation at
  2. Configure codecov through the
  3. View source and learn more about Codecov Global Uploader

We are happy to help if you have any questions. Please contact email our Support at [email protected]


FOSSA Status

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.