Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coverage report covers only Android API packages #14

Closed
samadpaydar2 opened this issue Apr 3, 2020 · 1 comment
Closed

Coverage report covers only Android API packages #14

samadpaydar2 opened this issue Apr 3, 2020 · 1 comment

Comments

@samadpaydar2
Copy link

Hi,

I run all the steps successfully and the coverage report is also generated. But the problem is that the report contains coverage information only for Android API, I mean android.support.* packages, and it does not include any of the application packages.
(I have attached the report HTML file)
Your help on this is highly appreciated.

Thanks,
Samad
index.zip

@samadpaydar2 samadpaydar2 changed the title Coverage report covers only Android API Coverage report covers only Android API packages Apr 3, 2020
@samadpaydar2
Copy link
Author

Hi

I found that the problem is that when my apk is decomplied, two smali folders are created: smali and smali_classes2. and the function instrument_apk in smiler.py uses only the first folder to build the instrumented apk, while my packages are in the second folder, so they are not instrumented.
Having found the problem, it's easy to solve it :-)
So, I close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant