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

Interaction.devicelogs is empty #8

Closed
chanhduc opened this issue Oct 1, 2019 · 5 comments
Closed

Interaction.devicelogs is empty #8

chanhduc opened this issue Oct 1, 2019 · 5 comments

Comments

@chanhduc
Copy link

chanhduc commented Oct 1, 2019

Dear,

I tried to use your ActivitySeenSummary model feature but I realized that devicelogs of all interactions are empty. Do I have to configure anything to record devicelogs for each interaction?

Thank you.

@natanieljr
Copy link
Collaborator

Hi,

Those logs are created using "inlined" apks, where the API calls are monitored.

The monitor is available at:
https://github.com/uds-se/droidmate-monitor/

You should inline your apk with it to log the start activity calls and should run this inline apk with the flag: --Deploy-installMonitor=true

Please note that this feature is highly experimental and works only on Android 6 to 9

@chanhduc
Copy link
Author

chanhduc commented Oct 6, 2019

Hi,

After I inline apk, I cannot install the apk on the emulator. The installation process appeared the error:
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Package /data/app/vmdl661139191.tmp/base.apk has no certificates at entry AndroidManifest.xml]

From your wiki (https://github.com/uds-se/droidmate/wiki/Monitoring-and-restricting-APIs), you noticed that "Note: Inlined apps do not work on emulators." Is that the reason for this issue?

@natanieljr
Copy link
Collaborator

Could you attach the apk for debugging?

I haven't seen this error yet and cannot reproduce with the apks which I normally use for testing.

@natanieljr
Copy link
Collaborator

From your wiki (https://github.com/uds-se/droidmate/wiki/Monitoring-and-restricting-APIs), you noticed that "Note: Inlined apps do not work on emulators." Is that the reason for this issue?

I forgot to add an answer to this point.

We use the library ArtHook as a proxy between the app and the OS. This library doesn't support x86 architecture, just ARM.

@natanieljr
Copy link
Collaborator

Assuming everything is working since there was no feedback after the solution

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

2 participants