January 21st, 2012, 01:35 AM
|
#1 (permalink)
|
|
New Member
Join Date: Jan 2012
Posts: 1
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
|
(Android Phone USB tethering) adb devices, it does not displays the list of attached devices.
hello,
I am facing problem while deploying my android app on Samsung Galaxy Y GT-S5360 phone USB tethering using eclipse and android 2.2 as platform
I went thru all the steps as below:
1)Downloading the Google USB Driver:
To download the driver, use the Android SDK and AVD Manager tool that is included with the Android SDK:- Launch the SDK and AVD Manager by double-clicking SDK Manager.exe, at the root of your SDK directory.
- Expand the Third party Add-ons and Google Inc. add-ons.
- Check Google USB Driver package and click Install selected.
- Proceed to install the package. When done, the driver files are downloaded into the <sdk>\extras\google\usb_driver\ directory.
2) Installing the USB Driver
Windows 7
To install the Android USB driver on Windows 7 for the first time:
- Connect your Android-powered device to your computer's USB port.
- Right-click on Computer from your desktop or Windows Explorer, and select Manage.
- Select Devices in the left pane.
- Locate and expand Other device in the right pane.
- Right-click the device name (such as Nexus S) and select Update Driver Software. This will launch the Hardware Update Wizard.
- Select Browse my computer for driver software and click Next.
- Click Browse and locate the USB driver folder. (The Google USB Driver is located in <sdk>\extras\google\usb_driver\.)
- Click Next to install the driver.
3) Setting up a device for developement
With an Android-powered device, you can develop and debug your Android applications just as you would on the emulator. Before you can start, there are just a few things to do:
- Declare your application as "debuggable" in your Android Manifest. In Eclipse, you can do this from the Application tab when viewing the Manifest (on the right side, set Debuggable to true). Otherwise, in the AndroidManifest.xml file, add android:debuggable="true" to the <application> element.
- Set up your device to allow installation of non-Market applications. On the device, go to Settings > Applications and enable Unknown sources (on an Android 4.0 device, the setting is located in Settings > Security).
- Turn on "USB Debugging" on your device. On the device, go to Settings > Applications > Development and enable USB debugging (on an Android 4.0 device, the setting is located in Settings > Developer options).
- Set up your system to detect your device.
- If you're developing on Windows, you need to install a USB driver for adb. If you're using an Android Developer Phone (ADP), Nexus One, or Nexus S, see the Google Windows USB Driver. Otherwise, you can find a link to the appropriate OEM driver in the OEM USB Drivers document
Now wen i verify whether the device is attached or not thru command prompt: adb devices, it does not displays the list of attached devices.
Thanks in advance for the replies.
|
|
|
Last edited by saraswatib; January 23rd, 2012 at 12:19 AM.
|
|