Remote debug AOSP framework services

171 views
Skip to first unread message

Arun Subramanian

unread,
Jun 9, 2020, 5:15:10 PM6/9/20
to android-platform

I am trying to debug one of the AOSP framework service, using Android studio 4.0. Some of the steps I found online are using DDMS which is no longer present in Android studio.


Is there any alternative to set up the debug environment for the new version of Android studio ? Or is there any equivalent for ddms in adb that can be used instead ?

Yong Ma

unread,
Jul 23, 2020, 12:39:56 PM7/23/20
to android-platform

adb -d forward tcp:8700 jdwp:$PID ($PID is the service's proccess id.)

Then you can do remote debug with port 8700.

https://stackoverflow.com/questions/62271979/remote-debug-aosp-framework-services

Reply all
Reply to author
Forward
0 new messages