Arun
Arun

Reputation: 81

"No debuggable process" is shown in Android Studio Profiler

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".

Upvotes: 4

Views: 6211

Answers (1)

Yash Joshi
Yash Joshi

Reputation: 627

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.

Upvotes: 5

Related Questions