We built Android from source to be able to obtain code coverage analysis reports for our projects mainly for two reasons:
A possible location for our application and tests inside the main Android tree could be
development/samples, so we are going to use it. Should you decide on a different location, minor adaption might be needed in the files and commands presented here.
We already have our TemperatureConverter project and its tests
TemperatureConverterTests somewhere in our filesystem, and if ...