Reputation: 42854
Not able to detect device in Android Studio:
Upvotes: 4
Views: 126
Reputation: 42854
Finally Found the issue was .... ADB
file will gets deleted after some time ..... so un-installed avast antivirus and this resolved it
Upvotes: 0
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
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
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