Recently I had to install the driver for Nexus 5, but I completely forgot how to do that so I decided to write a post about this. So what problems did I have? Well, I did some research on the internet (again) and found the steps to install, but for some reason my Nexus 5 still was not recognized by the Android Studio, which was really frustrating. And again I did a research and I found out that is really important to have at least one option selected on your USB Storage. And in order to not forget these steps any more I wrote this post which might help others like me :D.
So, if you had problems installing the driver for your Nexus device this post might help you. Below are the steps:
1. First step is to make sure your USB Storage is checked for one of the 2 opions (Media device (MTP) or Camera(PTP)). I missed this step and I spent about 2 hours until I figured out what the problem was (at first none of them was selected, and afterwards I selected the PTP option but it is working for MTP too), so this is an important step!
2. From SDK Manager make sure you have the Extras directory up to date. If it is not installed or it is not up to date you have to install what the SDK Manager suggests. I always install everything I can from the SDK Manager in order to avoid issues like this, so even if it takes a while until everything is installed I suggest you to take that time because it might save you some time later 🙂
2. Now, that everything is installed and/or updated, you should plug your device into USB and let windows to do its job. Windows will try to install the driver and recognize the device, but the driver must be installed manually.
3. Now that your Windows system tried everything he could in order to recognize your device, it’s your time to do something 🙂 You have to install the driver manually by following the next steps:
- Go to Desktop and right click Computer -> select Properties -> select Device Manager from the left of the screen
- Right-click on the Nexus 5 from Other devices and select Update Driver Software
- Now select “Locate and install driver software manually”
- Now browse my computer for driver software. The path should be
In my case the path is:
C:\Program Files (x86)\Android\android-studio\sdk\extras\google\usb_driver
Now, after all this steps are completed, you should be able to install the driver, and Android Studio, Eclipse or whatever IDE you use should recognize your Nexus 5 🙂
I tried to explain as simple as possible these steps I followed myself, so I hope is helpful for you too (for me will certainly be useful because I am pretty sure that I might forget all these steps next time I will need to install the USB driver for Nexus 5 🙂 ). If you have any questions please feel free to write us.
References: Android Developer USB Driver
Search In Blog
Want to donate?
Recent Posts: My Android Solutions
If you ever wondered how to read and parse a simple JSON file stored in the assets directory of your Android project, here is a way to do it.
In this tutorial I will create a simple Sectioned RecyclerView that will show 2 sections and a few items in each section and how to move an item from one section to another. Note: For RecyclerView I used AndroidX imports and not android.support.v7.widget.RecyclerView! Setup We need to import the recycler view from AndroidX. The build.gradle…
Recently, I had to add a perfect square CardView and I wanted to achieve this without hardcoding its width and height. I happily discovered the power of ConstraintLayout and this is how I managed to create a perfect square which should work on every dimension. In my project I created a RecyclerView with 2 columns,…