Windows :
- Download the latest Android SDK (preferably the zip file not the exe).
- Unzip the package to the root of C:\.
- NOTE: This will output a folder called "android-sdk-windows".
- Open up the android-sdk-windows folder and launch the SDK Manager.
- When you launch the SDK Manager for the first time it will ask for which packages to install. The only package we are concerned with at this time is "Android SDK Tools, revision 15", "Android SDK Platform-tools, revision 9" & "Google USB Driver package, revision 4". You can reject all the others if you are not interested in them.
- Once that's finished installing, you can close the SDK Manager.
- Go to the Control Panel, and select the System Properties (Windows XP) or System (Windows Vista/7).
- Select the Advanced settings;
- Windows XP: Click on the Advanced tab.
- Windows Vista/7: Click on Advanced system settings on the left.
- Click on Environment Variables.
- Under the "System variable" section, you will look for "Path". Double-click on it.
- In the "Variable values" section, add at the very end the location of the tools & package-tools folder, with a semicolon separating these two paths from the rest, e.g. %SystemRoot%;C:\android-sdk-windows\platform-tools;C:\android-sdk-windows\tools.
- The Google USB Driver package only supports select devices out-of-the-box, we will be downloading a modified file that should provide support for all CyanogenMod supported devices:
- Download the modified driver inf file: Download
- Unzip the file & inside you will see android_winusb.inf. Copy this file to C:\android-sdk-windows\extras\google\usb_driver\ replacing the "stock" android_winusb.inf.
- On the device, ensure that USB Debugging in enabled (Settings » Applications » Development).
- Plug the device into the computer via USB cable. The computer will attempt to install the drivers automatically.
- On success, open the command prompt on the computer, and type in the following command to sure everything is setup properly:
adb devices
- NOTE: You may to need to logout and/or reboot your computer for this to work. Otherwise Windows will say the command is not recognized
- If it lists any devices, everything is fine and you are finished. If not, the drivers may not be installed correctly, please continue.
- Open the Device Manager.
- Right-click on My Computer (Windows XP) or Computer (Windows Vista/7).
- Click on Manage.
- Click on Device Manager on the left.
- You will probably see Unknown Device with ADB listed under it with a yellow exclamation mark.
- Right-click on ADB.
- Click on "Update Driver Software".
- Click on "Browse my computer for driver software".
- Click on "Let me pick from a list of device drivers on my computer".
- Click on "Have Disk".
- Click on "Browse".
- Navigate to "C:\android-sdk-windows\google-usb_driver" and select "android_winusb.inf".
- Click on "Android ADB Interface".
- NOTE: You will get an Update Driver Warning, click on "Yes".
- Once finished installing the driver, open the command prompt on the computer, and type in the following command to sure everything is setup properly:
adb devices
- If it lists any devices, everything is fine and you are finished. If not, you may have further issues and will have to do further research on your own
And for Android TV to connect :
Setting up Debugger IP to Connect trough ADB
No comments:
Post a Comment