Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No debuggable processes in logcat when phone detected by Android studio

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!

like image 259
kimichang Avatar asked Dec 08 '16 07:12

kimichang


People also ask

Can not find Logcat in Android Studio?

Go to Project Structure -> Facets -> “+” -> Android -> Select Project Logcat should now be visible.

Why is my Logcat empty Android Studio?

Solution 1: Restarting your Android StudioIn your IDE Go to File > Invalidate Caches and Restart > Invalidate and Restart. This Solution will clear all the caches of Android studio IDE and restart it automatically, By the method, there are 80% change that Logcat will start work as before.

How do I set Debuggable to true?

Show activity on this post. By putting android:debuggable="true" in your manifest file, application will go in debug mode, that means android will manage all logs file regarding your application. But make sure put it again false (or remove this tag) if application will going to live or for release mode.


1 Answers

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.

like image 75
Loïc Dumas Avatar answered Oct 02 '22 17:10

Loïc Dumas