Working on android studio, I have followed all the required steps to test apps on real devices:
Made debugging ON on the device (7 taps)
Declared debugable true in manifest file.
Installed Google USB driver from sdk manager.
But still my device chooser displays nothing to show on opting for real device.
Please help.
*System Specification are compatible with Android Studio.
*Device is Nexus 4 with android sdk 21- (lollipop).
*minsdk configured to android 15.
P.S.: Both the AVD and Bluestack emulator are not working on my system (Do not suggest genimotion). Therefore I only have the option for a real device.
Connect your device with Android Debugging enabled to your PC
Open Device Manager of Windows from System Properties.
Your device should appear under 'Other devices' listed as something like 'Android ADB Interface' or 'Android Phone' or similar.
Right click that and click on 'Update Driver Software...'
Select 'Browse my computer for driver software'
Select 'Let me pick from a list of device drivers on my computer'
Double-click 'Show all devices'
Press the 'Have disk' button
Browse and navigate to [wherever your SDK has been installed]\google-usb_driver and select android_winusb.inf
Select 'Android ADB Interface' from the list of device types.
Press the 'Yes' button
Press the 'Install' button
Press the 'Close' button
Now you've got the ADB driver set up correctly. Reconnect your device if it
doesn't recognize it already.
Try running Android Studio as administrator and, beside enable Developer Mode, be sure you enabled USB debug mode and checked the popup when you connected the usb (in the device).
Otherwise, check the USB cable, I have I lot of cables that don't work for debugging but they work for charging, no idea why.
Related
I activated Developer Options" and check "USB debugging". I installed google usb driver on sdk.
But still Android studio doesn't recognize my mobile (one plus one).
I tested my mobile on my friend's laptop, it works. Also my android studio recognises Samsung when I install drivers.
But it doesn't recognize one plus one and nexsus.
Do you have any suggestion?
As I said in comment above, when I wanted to debug my app with my OPO today I got the same problem, after moving around to figuring it out, I found out it was because of ADB Driver (which for some unknown reasons got uninstalled from my system).
At first, check you Device Manager, if you see a yellow mark beside your phone, it is absolutely because of ADB Driver, so follow the steps below to install it:
Install the latest Samsung drivers: SAMSUNG USB Driver v1.5.33.0
Restart the computer (very important)
Go to Device Manager, find the Android device, and select Update Driver Software.
Select Browse my computer for driver software
Select Let me pick from a list of device drivers on my computer
Select ADB Interface from the list
Select SAMSUNG Android ADB Interface (this is a signed driver). If you get a warning, select Yes to continue.
Done!
Hope it will help you.
More on this
-Enable developer mode and usb debugging on OPO
-Open Android SDK manager either from Android Studio or the directory the SDK is saved in.
-Tick Google USB Driver and click ok to download
-Connect OPO
-Open Device Manager
-OPO should show as unknown device
-Right Click on it
-Update or install driver
-Select from list
-Android ADB Interface
-Click ok
Information from this link OnePlusOne helped me to resolve the Chrome://inspect device not detected - Authorize popup prompt issue
Phone: One Plus One
OS: Cyanogen Version 13.1.2
Content from the link is added here :
Quick guide:
Pre-requisite : Download Google USB Driver from here
Connect your device with Android Debugging enabled to your PC
Open Device Manager of Windows from System Properties.
Your device should appear under 'Other devices' listed as something like 'Android ADB Interface' or 'Android Phone' or similar.
Right click that and click on 'Update Driver Software...'
Select 'Browse my computer for driver software'
Select 'Let me pick from a list of device drivers on my computer'
Double-click 'Show all devices'
Press the 'Have disk' button
Browse and navigate to [wherever you have extracted the downloaded file]\google-usb_driver and select android_winusb.inf
Select 'Android ADB Interface' from the list of device types.
Press the 'Yes' button
Press the 'Install' button
Press the 'Close' button
Now you've got the ADB driver set up correctly. Reconnect your device if it doesn't recognize it already.
For One Plus Phones, here is what I did and it worked. I use a One Plus 7T Pro. Before you begin, ensure Android Studio is up and running.
Go to Settings > System > Developer options.
Under Debugging, Tap on Revoke USB debugging authorisations and Tap on Ok when prompted
Switch Off the Developer Mode and Switch it back On
Switch On the Stay Awake option (if you need it)
Under Debugging, Switch On USB debugging option
Remove the USB cable from your device and reinsert it. On the device, you will be prompted to Allow USB debugging for your device ID. Tap on Allow
You should now be able to see the device detected in Android Studio.
This should work for all devices of different brands that are not automatically recognised in Android Studio.
For me the issue was in wrong USB file type transfer "Default USB configuration" option.
It was set to "No data transfer" and I needed to set it to "PTP" under
For me it was much simpler then that:
Under Developer Options
Enable developer mode and usb debugging
Under Debugging subcategory
Enable Android debugging
And my device showed right up on Android Studio 2.2 deployment target dialog.
** Android version 6.0.1
** Cyanogen OS Version 13.1.2
The previous answers didn't work for me. But following the advice from here helped me resolve the issue.
I have provided the steps I followed, but they have been lifted stright from the above link and all credit goes to them. There were a couple of deviations I had to take to make it work which were:
step 9 showed ADB device which I clicked
step 13 shows ADB didnt work but device mamanger now picks up the device and so does VS
Setup ADB & Fastboot Drivers
Step 1. To get started, download the 15-second adb/fastboot installer here and run the file on your windows desktop.
Step 2. Press Y/Yes to install ADB and Fastboot drivers and follow all the steps to continue the driver installation. Once completed you will see fastboot/adb folder on your C drive (C:\adb).
ADB-Installer
Step 3. Now the Files are installed on your desktop, next step is to configure them and setup the drivers.
Step 4. Pick your phone up and go to Settings > About Phone and tap on Build Number 7 times until you’ve enabled Developer Options, then go back to the main settings menu and go to Developer Options that magically appeared right above About Phone. And Enable Android Debugging / USB Debugging mode.
Step 5. Now connect your phone to the PC with USB cable and open Device Manager and look for your phone. It will show up under Portable Devices as your phone model number or Other Devices or ADB Interface or Android. See the screenshot below:-
ADB-Interface
Step 6. Right-click on it and select update driver software.
Update-Driver-Software
[wpsm_ads1]
Step 7. Now new popup windows will appear on your screen. From here click on the “Browse my computer for driver software”
Browse-Computer-For-Drivers
Step 8. Now from the next screen click on the “Let me pick from a list of device drivers on my computer” and hit the next button.
Let-Me-Picks-Drivers
Step 9. From the next screen click on the “Android Device” option and hit the next button to proceed.
Android-devices
Step 10. Now on the next screen you will see all the ADB drivers that are installed on your windows. Here select the “Android ADB Interface” and click on the next button to complete the setup process.
ADB-Drivers-Setup
Step 11. ADB Drivers are now properly installed. To check it is working or note. Go to the ADB folder on your C Drive which the installer created on Step 2.
Step 12. Connect your phone to the PC and open a command window in your fastboot/adb folder (C:\adb). To do this Hold Shift button on your keyboard and right-click on the empty space of the folder. See the screenshot:-
ADB-FIles
Step 13. Now the command prompt windows will appear on your desktop. And enter the following command and you will see the screen with a list of devices attached. This means the drivers are properly installed and your android is successfully connected to the window PC.
adb devices
During a Windows Update this week I was presented with an optional patch titled "Other hardware - ACER Composite ADB Interface". This was part of a larger patch update, and I wrongly ticked and installed the patch. I do not own any Acer kit, but I do use ADB in wider Android development.
When I connect my tablet to the PC now it shows up in Device Manager inside a container named "ACER Device" with the title "ACER Composite ADB Interface". It is not visible to either the PC or ADB. Previously it appeared in a container called "Android Device" and worked fine. The device is a Google Nexus 7.
Annoyingly the patch is not listed in installed programs or installed updates, and I am struggling to try and remove it. I've already tried to uninstall the device (and drivers), but these just get reloaded when the device is plugged back in.
How do I remove this patch?
First try this simple procedure provided by #volodymyr-rybak:
Open 'ACER Composite ADB Interface' and select 'Update Driver...', in
the opened window select 'Browse my computer for driver software' then
'Let me pick from a list of device drivers on my computer' in the list
select 'MTP USB Device' and click on Next button.
This is what worked for my Nexus 4.
Disconnect your Android device.
Disable USB Debugging in Developer Options.
In the Device Manager (on PC), click on View --> Show Hidden Devices.
Double click on the entry for ACER Composite ADB Interface to open Properties.
Click on the Driver tab and then on Roll Back Driver. This will uninstall the problematic drivers.
If the 'Roll Back Driver' option is grayed out, then click Uninstall. In the confirmation pop up window, select Delete the driver software for this device and then click OK.
Do this for all the instances of 'ACER Composite ADB Interface'.
Shut down your PC. And start it again.
Now reconnect your device. Your PC will recognize it as a storage device.
Re-enable USB Debugging.
If it again shows up as 'ACER Composite ADB Interface', then repeat (4) and (5) to roll back the driver update.
Or... Open 'ACER Composite ADB Interface' and select 'Update Driver...', in the opened window select 'Browse my computer for driver software' then 'Let me pick from a list of device drivers on my computer' in the list select 'MTP USB Device' and click on Next button.
If the problem persists, right-click the ACER ADB Interface and select 'Update driver...', then 'Browse my computer...' then 'Let me pick from a list...' and you should see two options for the Nexus, Google Nexus ADB Interface and another called MTP USB Device. Choose MTP and hit 'Next' to install the driver, then it should show up as a portable device on your computer.
To uninstall the ACER driver and remove the driver files:
(Re)connect your Nexus 7 to your computer. Open Device Manager (you can search for it from the Windows Control Panel).
Locate and expand an entry named "Android Device." The Nexus 7 should show up as either "Android Composite ADB Interface" or "ACER Composite ADB Interface" under "Android Device."
Right-click the entry and select "Properties." Under the "Driver" tab, select the last entry, "Uninstall." In the new dialog window that appears, check "Delete the driver software for this device." Click OK to uninstall the ACER driver and remove the driver files.
Make sure the current version of the Google Nexus USB driver is installed:
Download the latest version of the USB driver from the Android Developer pages and unzip it on your desktop. A folder named "usb_driver" will be created.
In Device Manager, locate your Nexus 7 again under "Android Device," richt-click and choose "Update Driver Software..." This launches the Hardware Update Wizard.
Choose "Browse my computer for driver software." Browse to the location of the "usb_driver" folder on your desktop and check "include subfolders." Then click OK. The current Google Nexus Driver will now be installed.
Note: If the Hardware Wizard reports that "the best driver software is already installed," simply repeat the steps to uninstall the current driver for the Nexus 7 as described above, then try and install the current Google Nexus driver again.
My Windows 8.1 PC did the automatic update which included the "ACER ADB Interface update for Windows 8.1" drivers. This happened while I was away and this afternoon when I came home I was asked to re-boot the PC to enable updates to be applied.
Since the updates were applied I have not been able to connect my Nexus 7 (2012) as a "MTP USB Device". I have spent hours trying to find a solution including doing a factory re-set on the tablet.
The tablet connected successfully before I went away! That was a clue. So I did a Windows Restore to an earlier restore point. What do you know? The Nexus 7 now connected just like it did before.
I then checked for Windows Updates but carefully looked at what was being updated. The ACER ADB update was listed as an "additional update". I have marked it to be forgotten and then applied the other updates. So far so good.
So after all that; try restoring your system to an earlier restore point and select not to install the ACER ADB update.
In my case, rolling back the driver for "ACER Composite ADB Interface" (which appeared under something like "ACER device") did the job. Right after rollback, without reboot, Nexus 7 appeared both in Device Manager and in File Explorer as Nexus 7.
In my case, I selected "Uninstall" from Device Manager, unplugged the device, and re-connected. Windows 7 itself was smart enough to find the actual driver for it and lets me use it again.
On your device, make sure that the USB computer connection is set to “Media device (MTP).”
Touch Settings > Device > Storage. Then touch Menu Menu > USB computer connection. MTP should be selected by default, but you may have to uncheck MTP, check and uncheck Camera (PTP), and then recheck MTP.
Thanks for your help - I'd already tried all of what was suggested apart from the System Restore which I have now done.
I left a few other things that needed fixing, but it did restore the registry and patch state to a point before I applied the ACER patch, and I've now got things back as they were.
I have marked this patch as hidden, so it doesn't get applied again in error.
I had the same case. I guess this problem is a conflict with Samsung Nexus vs LG nexus. Before I had used Samsung Nexus Galaxy. I am using LG nexus 5, now.
In my case:
I found the driver files and removed those. (Device Manger - ACER ADB Interface [right click]Properties - [Tab]Driver - Driver Details)
I also removed the device in Device Manager.
Then, I scanned for hardware changes.. (the driver did install with auto by Windows 8.1)
At last, I can now browse the Nexus as storage.
In my case, neither updating the driver nor a windows system restore help. When I tried with a different USB cable, the system detected my Nexus 5 device. For some reason the other USB cable while charging the phone does NOT show the device at all even now.
PS: I wanted to try with a different USB cable than the one I had but unfortunately could not get hold of one, wasted close to two hours trying all other possible solution.
I started to develop in android with Android Studio IDE, I tested my apps on the emulator and works fine, but when I tried to test the apps directly in my device doesn't recognize it and the console shows next message:
Waiting for device. USB device not found
I configured "USB Device" in Run>Edit Configurations...> in tab "General", menu "Target Device"
I enabled the "Debug option" in my device
Plug/Unplug USB
I can run on my device at last, just I enabled the "USB debugging" and "Allow mock location" options from the Debug Menu of my device.
First we have to enable the USB debugging mode. for that go to Settings -> Developer Options ->USB debugging in your phone checked it and allow it.
After it open android studio, click on SDK manager , check mark the Google USB Driver and hit install package.
After Installing Google USB Driver, close SDK Manager window, Connect your phone or tablet through USB cable to your laptop or PC.
Now click on My Computer (Windows 7) (or) This PC(Windows 8.1).Select Manage.
Select Device Manager –> Portable Devices –> Your Device Name
Right Click on Your Device Name and Select Browse My Computer For Driver Software.
Point it to C:\Users\YourUserName\AppData\Local\Android\sdk\extras\google\usb_driver. Hit Next and Finish.
Now Hit Run Button after selecting Your Project in Project Explorer in Android studio. Choose your device and press OK.
I have a Nexus 4 and own a Thinkpad L430 Windows 8.1
My errors:
"Waiting for device.
USB device not found"
I went to: Device Manager > View > Drop to "Acer Device" > Right click on Acer Composite ADB Interface > Update it
Afterward, Reboot/Restart your computer. Once it turned on Plug Your USB Device onto the computer.
Go to: Setting > Enable "Developer options" > Check the "USB debugging" option > Check "Allow mock locations" > Check "Verify apps over USB".
Swipe down from the drop down menu of your phone where it Shows the USB Connection Icon. Tap on USB Computer Connection > Select the Check box "Camera (PTP)"
Run your Android Studio App and it should work
To test an android apps in a real device with Android Studio, You must keep two things in mind
You should enable USB debugging option on your android phone.
You must have driver installed on your computer.
Now , let me tell you how you can enable USB debugging on your android phone:
Go to Settings on your android phone
Scroll down to the bottom and click on About phone
On this menu also scroll down to the bottom, you should see something Build number
Click on Build number 7 times
Now your Developer Option enables, once you done click on back button and you should see a new option on your android screen i.e. Developer Options
Click On Developer Options
Scroll down until you see USB Debugging
Go ahead and click the check box next to the USB debugging
Now your USB Debugging option enables.
Connect your android device to your computer with the help of USB connector.
Now let me tell you how you can download the driver on your Windows PC:
Your windows machine need a software called driver to communicate with your phone.
Go To OEM USB Driver Website to install your appropriate driver
Scroll down and select the driver appropriate for your device.
Check the screen shoot
Once you download it , you have to unzip your file
After Installing Google USB Driver, close SDK Manager window, Connect your phone or tablet through USB cable to your laptop or PC.
Now click on My Computer (Windows 7) (or) This PC(Windows 8.1).Select Manage.
Select Device Manager –> Portable Devices –> Your Device Name
Right Click on Your Device Name and Select Browse My Computer For Driver Software.
Point it to C:\Users\YourUserName\AppData\Local\Android\sdk\extras\google\usb_driver. Hit Next and Finish.
Now Hit Run Button after selecting Your Project in Project Explorer in Android studio. Choose your device and press OK.
Step 1: Firstly, Go to the Settings in your real device whose device are used to run android app.
Step 2: After that go to the “About phone” if Developer Options is not shown in your device
Step 3: Then Tap 7 times on Build number to create Developer Options.
Step 4: After that go back and Developer options will be created in your device.
Step 5: After that go to Developer options and Enable USB debugging in your device as shown in figure below.
Step 6: Connect your device with your system via data cable and after that allow USB debugging message shown on your device and press OK.
Step 7: After that Go to the menu bar and Run app as shown in figure below.
Step 8: If real device is connected to your system then it will show Online. Now click on your Mobile phone device and you App will be run in real device.
Step 9: After that your Android app run in Real device.
Regards,
Guruji Softwares (https://gurujisoftwares.com)
For Android 7, Galaxy S6 Edge:
Settings > Developer Options > Turn the switch ON > Debugging Mode (Turn On)
If Developer Options is not available then
Settings > About Device > Software Info > Build number (Tap It 7 time)
Now perform step 1. Now it should work, if its still not working then perform these steps. It worked for me.
if you are using IOS react native platform and want to debugging real android device you can use following code:
adb reverse tcp:8081 tcp:8081
npm start -- --reset-cache
react-native run-android
You have to Download the driver for your Device just go to device manager-->> your device-->update driver-->choose the usb driver path from sdk extras folder and click next.
You can get the correct driver and you can run on real device
If USB Debugging Mode is enabled and does not work, you should install your device driver.
For Nexus Devices;
Install Google USB Drivers on SDK Tools.
Go to Control Panel > Device Manager and check drivers status.
(Probably you can see warning icon on ADB Interface Driver.)
Select ADB Interface driver and click update. Choose "Browse my
computer for driver software" and set folder path like
"D:\Users\userName\AppData\Local\Android\sdk".
For Another Devices;
If you install the model's driver, it may work. For ex: Samsung Kies,
LG PC Suite.
Hope it helps!
I tried #Mr. Stark answer. It didn't work. It failed to install the drive. I have Samsung S8 plus. I enabled the debugging mode on device then installed Android USB Driver for Windows from Samsung site, it works.
Other 2 step solution could be for Android Studio;
"After installing cellphone drivers" on your computer(if it is
needed? and device is not detected already in windows, most
cellphone are now a days plug and play or auto detected by the
windows, u can use windows "settings->devices" or "settings->phone"
or "control-panel->Devices & Printers" to see if your cellphone is
detected). If not you need to install devices drivers for your cellphone
possibly form its OEM or manufacturer website.
Open Project you want to run in your cellphone; Click,
Run -> Select Device... -> In popup menu select "Troubleshoot Device
Connections" at the bottom of the list, it is a wizard and it'll
guide you through all steps necessary to enable USB Debugging on
your cellphone.
So I want to use my new Nexus 5 for debugging my apps.I tried to install the Android USB driver via the device manager
But my nexus is listed as portable device and uses the default windows driver.How can I replace the windows MTP-USB driver with the android driver?When I click update driver software und select "\sdk\extras\google\usb_driver", it tells me that the driver software is up-to-date.
Edit:
USB Debugging is already activated
Edit 2:
Sorry my fault there are actually two Nexus 5 in my Device Manager. The other one accepted the android driver.
First you'd want to make sure you device is in 'debug mode' or 'usb debugging' - set through development settings in your phone's 'system settings'
then run adb devices from your adt-bundle folder/platform-tools to see if it got your device.
Edit:
if it doesn't work try, from your 'drivers' tab-
Update Driver -> Browse for driver software on my computer -> Let me pick from a list of device drivers from my computer -> Have Disk -> Navigate to your usb_driver folder
Notice the extra step near the end, you don't submit the folder in the "Browse for driver software on my computer" tab
download this usb driver: http://dlcdnet.asus.com/pub/ASUS/EeePAD/nexus7/usb_driver_r06_windows.zip
go to the device manager , right click the nexus device and choose properties, choose "hardware" and then choose update your driver , choose manualy and pick the folder you opend the zip file to and press apply.
open your setting in nexus . go to : "about the device" , at to the bottom of the page and press it strong text7 times .
open the developers menu and enable debug with usb.
finally press storage from the setting menu and click the menu that apears at the top left corner. press the connect usb to the computer, choose the second option (PTP).
that should do the trick.
The way I got the drivers installed for my nexus 5 was by following these instructions but I had to turn off my phone and do the steps below but for following the first set of instructions for the link below:Nexus 5 Driver installation instructions
power off your phone.
press and hold Volume Down and Power buttons simultaneously
- an Android robot will show up and the Fastboot Mode text is listed.
connect the Nexus 5 to your PC via USB Cable.
After doing this the drivers installed but had a yell warning sign. However I was still able to get it to take commands and for it to be seen by the ADB devices command. I currently am using windows 7, and I have the adb setup in my environment variables so I can run commands from the command line.
In the command line before you call the adb devices, make sure you navigate to the android platform tools folder '\Android\android-studio\sdk\platform-tools then from here call the adb devices and you will know for sure if your device is being detected!
Just to highlight the key step that solved the problem for me using a Nexus 5.
Follow the steps by Neeraj, just replacing the first one by the drivers in http://developer.android.com/sdk/win-usb.html
Key point is to make sure you change the usb connection to use PTP and try to install the driver from the Nexus 5 under other devices.
That solved the issue for me.
Another related issue:
Every time you connect a device through USB 3.0, Windows 7 automatically installs its own drivers that can't be updated. Removing them does nothing, as they will just be immediately installed again upon reconnection.
To get get around this, you need just need to use a USB 2.0 slot.
To allow usb debugging for an lg f60 d390 in Android Studio I had to install LG PC Suit.
I had same issue, Uninstall the existing driver. Then your device will be listed under Android Device -> Composite ADB interface in device manager. You then can follow steps to update the Google - USB driver.
This answer worked for me.
Switch the USB port you use.
For whatever reason once I did this Windows recognized my device.
I see many people has this problem and so I see many solutions as well. But none is working.
I am having Ainol Novo8 Dream QuadCore Tablet running Android 4.1.1. My Window machine is Win 7 (with all updates).
For above I have download usb_driver i got from somewhere but window is not taking it. It says it is already up-to-date. Even after uninstalling the driver it does not take mine but update from net. My device is fully connected through USB without Yellow warning.
Do, I still need to use usb_driver I got from somewhere for my Tablet ?
I read about SDK setup, but I did not find it anywhere. I have Eclipse with ADT from Google Developer page.
Also, there were no .... google/usb_drive/ folder exist. For info, Virtual Device is working correctly on my Eclipse setup.
I read about two files which looks important: adb_usb.ini and android_winusb.inf. Both are not present in my installation. Though in the downloaded usb_driver for Ainol android_winusb.inf exist.
Tried with "adb start-servers" and adb kill-servers". No help for "adb devices".
My folder structure is
C:\Eclipse_N_ADT\adt-bundle-windows-x86_64-20130522\sdk
I have done with USB Debug Mode on. Notification is showing this. I removed the slide password thinking if it can interfere with. My device is rooted by default.
My device is not coming on Portable Device list. When I check through Devices and Printer on Win7 then I can see window has found device drivers. There it shows my Tablet Model under driver list.
For the sake of anyone else still struggling with this, I found a driver package that works.
I recently purchased an Ainol Novo Hero 10 II for development purposes and faced the same problem as you. This solution works for me:
Source:
http://www.slatedroid.com/topic/70585-adb-drivers/
If you have already installed any previous drivers but your ADB doesn't recognise it, go to your Device Mangers to uninstall and remove all existing drivers associated with your new device.
Download modified USB driver from here: http://yadi.sk/d/54lX5c2O386XU
This driver is UNSIGNED so install at your own risk (although it seems to work for me). Windows has a Driver Signature Enforcement that you need to disable. A google search will lead you to instructions (sorry not enough rep points to post more than 2 links :P)
Reinstall with the new driver. The package already includes an adb_usb.ini file that includes a Vendor ID 0x10d6 that should help recognise your device.
Reboot Windows (and remember to reactivate your Drive Signature Enforcement) and it should be working.
Follow the below steps for recognize your device with 'adb devices' command.
For this your device should be enabled 'USB Debugging' option in {developer options}.
Click 'Start' button on computer.
Right click on Computer.
Select 'Manager' > 'Computer Management' window will be opened.
Click on 'Device Manager'
Now Expand 'Portable Devices' > Here you can find your device name with yellow exclamation symbol.
Right click on your device Name.
Select 'Update drivers Software'
Select second option 'Browse my computer for driver software'.
Select 'Let me pick from a list of device drivers on my computer'.
Common hardware types list will be opened.
Select 'Android Device' > click on 'Next' button.
Now select 'Android ADB Interface' and Click 'Next' button.
it pops up 'driver warning' > Click 'Yes'.
Now you will see the 'Windows has successfully updated your driver software'.
Now you can see the pop up in your device with 'digital signature' > click 'OK'
Now open cmd and write command 'adb devices' > now you can see the your device is listed with some ID.
Quick guide:
Connect your device with Android Debugging enabled to your PC
Open Device Manager
Your device should appear under 'Other devices' listed as something like 'Android Phone' or similar.
Right click that and click on 'Update Driver Software...'
Select 'Browse my computer for driver software'
Select 'Let me pick from a list of device drivers on my computer'
Double-click 'Show all devices'
Press the 'Have disk' button
Navigate to [wherever your SDK has been installed]\extras\google\usb_driver
Select 'Android ADB Interface' from the list of device types.
Press the 'Yes' button
Press the 'Install' button
Press the 'Close' button