Android Studio does not find debuggable processes on Samsung phones

254 views Asked by At

I am having an issue with some new testing devices I have started using: Samsung Galaxy S7 (OS 7.0) and S9 (OS 10.0). While I can build and deploy debug apks to the devices over USB (using "Run" button), and see the devices listed in the devices dropdown and the logcat dropdown, I do not see the debuggable process listed in the attach menu, or in the logcat. When I attempt to "Debug" (Run + Attach), the device shows a prompt indefinitely waiting for the debugger to attach.

I do see that Samsung Knox is part of both of these phones (v2.7.1 and v3.4.1 respectively) - I fully understand if there are some gotchas with knox and debugging since that may be one of the security areas it attempts to protect. Haven't been able to find any documentation to prove that or understand how to disable knox enough to get the devices debugging.

I am using Android Studio 4.0.1 on Max OS 10.15.6. I have not had any issues debugging Moto and Pixel devices.

Any information would be greatly appreciated!

1

There are 1 answers

2
Eugen Martynov On

I have this a lot recently.

Usually, the next command fixes it for me:

adb kill-server