Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Development > Application Development

Application Development Dev Lounge for the Coder Folks



Reply
 
LinkBack Thread Tools
Old 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
Default (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:
  1. Launch the SDK and AVD Manager by double-clicking SDK Manager.exe, at the root of your SDK directory.
  2. Expand the Third party Add-ons and Google Inc. add-ons.
  3. Check Google USB Driver package and click Install selected.
  4. 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:

  1. Connect your Android-powered device to your computer's USB port.
  2. Right-click on Computer from your desktop or Windows Explorer, and select Manage.
  3. Select Devices in the left pane.
  4. Locate and expand Other device in the right pane.
  5. Right-click the device name (such as Nexus S) and select Update Driver Software. This will launch the Hardware Update Wizard.
  6. Select Browse my computer for driver software and click Next.
  7. Click Browse and locate the USB driver folder. (The Google USB Driver is located in <sdk>\extras\google\usb_driver\.)
  8. 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:

  1. 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.
  2. 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).
  3. 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).
  4. 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


  • The problem is:-
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.

saraswatib is offline  
Last edited by saraswatib; January 23rd, 2012 at 12:19 AM.
Reply With Quote
Sponsors
Old January 27th, 2012, 12:30 AM   #2 (permalink)
Over Macho Grande?
 
alostpacket's Avatar
 
Join Date: Nov 2009
Location: NY
Posts: 7,090
 
Device(s): GalaxyNexus(LTE), NexusOne, OG Droid, GalaxyTab 10.1(LTE), Eris, Logitech Revue (fishtank)
Thanks: 4,164
Thanked 3,126 Times in 1,292 Posts
Default

Have you tried downloading a driver from samsung? the Google usb driver is *mostly* for the Nexus phones
alostpacket is offline  
Reply With Quote
Old January 27th, 2012, 07:30 AM   #3 (permalink)
Junior Member
 
jonathanrz's Avatar
 
Join Date: Jan 2012
Location: Brazil - Blumenau, SC
Posts: 69
 
Device(s): Motorola Defy - Gingerbread(2.3.3)
Thanks: 12
Thanked 5 Times in 4 Posts
Send a message via MSN to jonathanrz jonathanrafaelz
Default

Here is the google tutorial to set the device for development: Using Hardware Devices | Android Developers

You have to download the usb driver of Samsung, as said by alostpacket.
jonathanrz is offline  
Reply With Quote
Reply

Bookmarks


Go Back   Android Forums > Android Development > Application Development User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -5. The time now is 12:08 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo