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:
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
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:
- Unzip the drivers if they need to be unzipped. Make sure you remember where the unzipped drivers are located.
- After you have downloaded & unzipped the drivers, you are going to connect your device. Your device will run through the install process.
- After your computer runs through that process, go to Device Management, right click on the device and then click on Update Drivers.
- 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
- 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).
- Open Android Studio
- Click on Tools in the menu area.
- Click on Android.
- Click on Android Device Monitor.
- 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
Slot games, casino, poker, roulette - DRMCD
ReplyDeleteHow 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