Jacoco works well at generating reports for application files. But is it possible to get reports for system-level libraries?
I am trying to achieve this by using jacoco+gradle+espresso in offline mode. After I have instrumented certain class files in android.jar (android-sdk-linux/platforms/android-21), the execution data are not collected during tests. There is no problem for me to get data for other application-level files, as long as I instrument them before they are turned into .dex files.
What is preventing the collection of system-level library execution data? Or is there any other way I can achieve this goal.
Thanks!
Di