I want to connect Method Profiling , to look at the execution time of methods, but I can not connect to Method Profiling .

I looked at how they do it in tutorials and at the stage of selecting an application (as far as I understood, I need to choose a package with an application that I need to test) I have a problem

According to the tutorial it should look like this.

enter image description here

And I have it looks like this

enter image description here

Why doesn't my structure appear?

  • one
    Do you have a debuggable application? - Vladyslav Matviienko
  • @metalurgus yes exactly the problem was this. Thank! - Aleksey Timoshchenko

1 answer 1

It was necessary to make the application debuggable

For this, I added to the grad

 android { //... buildTypes { debug { debuggable true } customDebuggableBuildType { debuggable true } release { debuggable false } } //... }