How to monitor API calls made by an Android App? I am using an Android Virtual Device and I am running the Monkey Runner script to generate user input. Now, I have to see the API calls made by that app. Is there any tool or script that will help me? I've tried Strace, but it does not keep a track of API instead it keeps trace of System calls.
The XPosed framework allows to hook and therefore monitor every App and Android method. Therefore it can be used for creating a log of certain API methods.

However this require to hook every API method you are interested in.

I found two open source projects aiming in what you want. Both are implemented as an XPosed module:


Droidmon (last change in 2016)
Sensitive_API_Monitor


You may have to expend those projects if APIs you are interested in are not hooked by those projects.