Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 378
Arun Avatar asked Oct 26 '25 18:10

Arun


1 Answers

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.

like image 129
Yash Joshi Avatar answered Oct 28 '25 10:10

Yash Joshi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!