Profiler cannot detect my device
Asked Answered
I

6

15

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?

Ingeingeberg answered 10/7, 2018 at 12:49 Comment(3)
I am surprised what makes people downvote questions. Either you know the answer and can help, or you can't. What makes you downvote this question which is asking an actual issue whose solution I did not find anywhere on the internet.Ingeingeberg
did you ever work this out? Have just had this happen on AS 3.5.Alagez
@DavidTchepak I don't remember. I don't think I did though.Ingeingeberg
G
5

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

Gopak answered 30/11, 2020 at 12:7 Comment(0)
P
3
adb root
adb remount

Sometimes adb remount fails.

Apply the commands below to make it work.

adb disable-verity
adb reboot
adb root
adb remount
Patronage answered 22/9, 2022 at 13:44 Comment(0)
C
1

Re-attach USB again. or

Invalidate Caches/Restart (File -> Invalidate Caches/Restart -> Invalidate and Restart).

Censorious answered 5/11, 2019 at 2:36 Comment(1)
Yup! Disconnecting and connecting the device again worked for me. In addition to this, I have connected my device over wifi network so I disconnected that device by using command adb disconnect <device-ip> and then connecting it again with adb connect <device-ip>Halidom
N
1

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.

Nyx answered 14/8, 2020 at 11:13 Comment(0)
W
0

press in the first image where it says [DISCONNECTED] and search for your app package

Watershed answered 10/7, 2018 at 12:52 Comment(1)
It does not even find my connected device, forget about my app package.Ingeingeberg
M
0

Maybe this guide solved anyone's problem cause it was my solution.

First go to Build -> Edit Build Types...

then in the build types tab, as below click on debug and then ok.

enter image description here

it will let you have a profiler for your app.

Masker answered 20/6, 2021 at 8:15 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.