everyone!
I got so confused by android studio. when I plug in my phone to debug apps,logcat can detect my phone,but i can not choose process. It said "no debuggable processes",not common "no debuggable applications".
My phone is samsung s5 (android 6.0),rooted.
Any ideas?
Thanks!
if you set
minifyenabled
totrue
you can be face with this error. So if you run your app release or debug then be sure thatminifyenabled
isfalse
.This may be the case, when you change cable with new one, then Restart is required for Android Studio. It will prompt USB debugging again.
You need to download usb drivers for your phone (in this case as I see, it is a samsung s5). The link to its drivers is this one:
http://samsungusbdriver.com/download/samsung-driver-v1-5-61-0
When you are there, follow the steps when downloaded and your phone will be recognised. Hope I could help ;).
I finally found that I was running a release version of the App. So foolish...
I had a similar issue, when I was building an app, I could select the device in Logcat, but not the process. (same message, "No Debuggable Processes")
The reason: I was building my app in release, then, when I changed the build variants to debug, I was able to select the process.
This happens time to time, try these three options in any order: