"No debuggable process" is shown in Android Studio Profiler

5k views Asked by At

When I try to use profiler in Android Studio, I am able to see my connected device but I am getting "No debuggable process" in the Profiler. Can someone please help me why i am getting "No debuggable process".

1

There are 1 answers

2
Yash Joshi On

You can try any/all of the following:

  1. Invalidating cache and restarting your Android Studio: To do this, from the menu bar select File > Invalidate Caches / Restart
  2. Restart your phone
  3. Disable and enable USB debugging
  4. Restart your computer

You can also check if your app is marked as debuggable in build.gradle. To do this, just go to your app-level build.gradle file, and under buildTypes check if the debuggable property is set to false, if yes change it to true. Something like:

buildTypes{
    release {
        debuggable false
    }

    debug {
        debuggable false
    }
}

Alternatively, to do the same you can also do it the old way by adding the following line to your Manifest file under the Application tag:

android:debuggable="true"

This should fix it.