Devrath
Devrath

Reputation: 42854

Device is not getting detected in android studio

Not able to detect device in Android Studio:

enter image description here

Debugging is enabled: enter image description here

Upvotes: 4

Views: 126

Answers (5)

Devrath
Devrath

Reputation: 42854

Finally Found the issue was .... ADBfile will gets deleted after some time ..... so un-installed avast antivirus and this resolved it

Upvotes: 0

Görkem Karadoğan
Görkem Karadoğan

Reputation: 142

please try Invalid Cached/Files

Upvotes: -1

S.R
S.R

Reputation: 2829

Have you defined sdk path to android studio ?

go through below path in Android studio settings and check Android SDK Location:

Appearance & Behavior / System Settings / Android SDK

Also adb.exe must be present in:

YourSDKDrive:\....\sdk\platform-tools\adb.exe

Note:

Try to update Android SDK Platform-Tools (28.0.2) if you already haven't. that might help

Upvotes: 0

ronginat
ronginat

Reputation: 2005

You have a notification from Android System, click on it.
At the window that opened change USB connection
from

File transfer

to

Photo transfer

worked for me

Upvotes: 0

Naimish Vinchhi
Naimish Vinchhi

Reputation: 803

Try below if it is not a problem with cable or with driver.

Open task manager of your system OS and kill adb.exe process. Now start adb again, it should start normally.

Upvotes: 2

Related Questions