androidandroid-emulatorandroid-servicemonitoringmonitor

Android Emulator: How can I get a list of services that are running


I have the Android Emulator running in my Ubuntu VM and just installed an apk file trough the console. The emulator and adb have many options to view what is going on on the device. But how can I get a list of services that are currently running? I'm trying to find out if a specific app installes a notify service to view (unwanted) ads. I even know the services' name.

PS.: I'm an advanced beginner - but not advanced enough. So thanks for your help.


Solution

  • You can get the list with the following command :

    adb shell dumpsys activity services