Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Profiler cannot detect my device

I am using Android Studio 3.1.3 and deploying my app on Lenovo Phab PB1-770M, (Android 5.1.1, API 22). Since yesterday, Android profiler has stopped detecting my device and even though I am able to run and debug on my device using AS, Profiler just cannot detect that the device is connected.

Android profiler screenshot

However, I am able to deploy my code and debug it on my device, as you can see in the logcat

enter image description here

Can anyone help me in this?

like image 486
Rajan Prasad Avatar asked Jul 10 '18 12:07

Rajan Prasad


People also ask

What is profiler in Android?

Android Profiler is a set of tools provided by Android Studio for profiling Android applications. You can access it by going to View > Tool Windows > Profiler on the menu bar. Alternately, you could also click on the Profile icon in the toolbar.

How do I enable advanced profiling?

Try doing Menu > Run > Edit Configuration... > Profiling then mark checkbox Enable advanced profiling and then re-running/building.

How do I close android emulator?

To stop a running emulator, click Menu and select Stop.


2 Answers

try adb root and adb remount, I just resolve the problem in this way.

like image 175
coderxiong Avatar answered Oct 04 '22 16:10

coderxiong


I know this is an old question, but maybe someone will encounter this problem on Android Studio 3.5 or newer.

In addition to the mentioned @CodeWithVikas answer, clearing of the LogCat helped me.

like image 44
Slampy Avatar answered Oct 04 '22 14:10

Slampy