Skip to main content

How To Solve The Problem Of Android Studio Not Seeing Your Connected Device On Windows

If you ever need to connect your actual device (ie. phone, wearable device or any other) to your computer to debug your Android program, you have to take a few steps first to make sure your device can be seen by the system on Windows. If you are using a Mac, you are not likely to have this issue, but if you are using a Windows system, you have some initial setup to do. Since the actual steps will be different for each device, I am going to give you a good general overview and then provide you with links to get what you need.

There are a multitude of devices out there. Each of these devices operates in slightly different ways. In order to let Windows know about your device, you need drivers. In order to let Android Studio, or any IDE, know about your device, you need drivers. Here are the steps to make sure Android Studio, Visual Studio and Eclipse can see your connected device if you are creating mobile applications on a Windows machine.

Enable developer mode and/or USB debugging on your device. This can be a strange one for some devices. For example, on a Samsung device, you have to go into the Settings menu, click on About Phone, scroll down to Software Information and then scroll down to the Build Number and click on the Build Number 7 times to enable Developer mode. Then you have to go to Developer Options to enable the USB debugging feature on your device (there's no place like home, there's no place like home, there's no place like home)!  Just ignore that last bit if you have never seen the Wizard Of Oz. It is just that jumping through these hoops to set up devices reminds me of Dorothy having to click her heels together multiple times and say "there's no place like home" over and over just to get back to Kansas. It should be simpler, as in Mac simple. When I plug my devices into my Mac, they just roll and everything works. Anyway, back to the topic. I won't spell out the process for every single device, but you will need to look up how to enable USB debugging for your particular device.

Once you have enabled USB debugging on your device, you now need to find the drivers for your device. You can find the drivers in one of two ways. You can go to the manufacturer's website and search for those driver's there or you can go to the Android developer's site and use the links to get to the drivers you need. The benefit of going to the Android site is that all of the drivers are listed in one place and you can easily navigate where you need to go. Here is the link to the driver's on the Android Studio site:


  1. Unzip the drivers if they need to be unzipped. Make sure you remember where the unzipped drivers are located.
  2. After you have downloaded & unzipped the drivers, you are going to connect your device. Your device will run through the install process.
  3. After your computer runs through that process, go to Device Management, right click on the device and then click on Update Drivers. 
  4. Browse to wherever the drivers are located on your machine and then select the driver for that device. This should allow you to get going.


You can check to see if the device is recognized by Android Studio by doing the following:

CHECKING TO SEE IF A DEVICE IS SET UP USING ANDROID DEVICE MONITOR
  1. Plug in your device and make sure debugging is enabled and it allows data to be transmitted from the device (Samsung devices will ask this).
  2. Open Android Studio
  3. Click on Tools in the menu area.
  4. Click on Android.
  5. Click on Android Device Monitor.
  6. Your project will build and you will be able to see if Android recognizes your device when the Android Device Monitor screen pops up. If your device can be recognized, details about it will show up on the screen. If no devices are seen, the screen will reflect this.


The other way to check is to go to the command line adb tool and run the command adb devices

I am assuming that you have a basic knowledge of how to navigate Windows and how to use the adb command line. If you do not have that basic knowledge, you can click here to look at this page from the Android Studio website to get yourself up and running.


Enjoy!
Kila Morton






Comments

  1. Slot games, casino, poker, roulette - DRMCD
    How do I find games, casino games, poker, roulette? · There are no games 서귀포 출장안마 found in a casino. · 전라남도 출장안마 The same is true of 충청남도 출장샵 games. · 태백 출장마사지 There 논산 출장안마 are more than two

    ReplyDelete

Post a Comment

Popular posts from this blog

How To Solve The 'sudo' is not recognized as an internal or external command, operable program or batch file Message

Recently, I was talking with a developer about  sudo and how they initially didn't realize what sudo was. The developer had never worked on anything other than computers running Microsoft Windows. That gave me the idea for this little programming tip on the alternative to sudo when you are using a Windows machine. First, some history. Sudo can be called the one command to rule them all when you are working on a Unix based system. In fact, it really IS the one command to rule them all on those types of systems! Sudo is pronounced "sue dough" and it stands for "super user do" or "substitute user do". It is a program that allows you to run programs with the security privileges of another user. That user, by default, is the superuser for the machine you are on - hence, the original meaning of "super user do". The sudo program was enhanced to include the ability to run commands as other special users - not only as the superuser - hence ...

How To Solve Connection attempt failed with "EAI_NONAME - Neither Nodename Nor Servname Provided, Or Not Known

If you have ever tried to import a file into FileZilla from your domain host only to find that using the supplied settings produced the, Connection-attempt-failed-with-EAI_NONAME---Neither-nodename-nor-servname-provided-or-not-known".   error, you are in luck. I am going to show you a quick way to take care of this issue. When you are using an FTP client to connect to your site, you typically have a setup that looks something like this. (Note - if you are using FileZilla, your screen looks EXACTLY like this, since this is the ftp client I am using here.) Notice the area I have highlighted in Yellow. This is the problem child in this scenario. Although your hosting company may have stated that you should use ftp.YourWebsite.com, that is often NOT the correct thing for you to use to gain remote ftp access to your site. The error means that the program cannot resolve the dns entry for your site. Instead of using ftp.YourWebsite.com, you need to replace the host ftp.YourWeb...

How To Reset Your Entry Processes Or How To Clear Your Entry Processes In A Shared Hosting Environment Using CPanel

One of the most frustrating things is to wake up one morning and discover that your website is down (a 508 error) and you don't have a tool to get it back up and, instead, have to contact your hosting company to reset things for you. Sometimes, if you are using a content management system, the issue may be something as simple as a plugin. Do you really want to have to reach out to your host every time you have an issue? If you don't, I am going to show you one way to get your account back up and running. This will not work for everyone, but if you are using certain technologies, it will work for you. What you will need: Access to your cPanel. An account running PHP ISSUE: You have used up all of your allocated server resources and your site is now experiencing a 503 or 508 error and is not allowing any traffic to reach your site. SOLUTION: Log into your cPanel account. If you do not have a cPanel account, this won't work for you. Search for Select PHP Versi...