Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Build a Simple Android App (2014) Testing and Debugging Running the App on a Device

No connected Devices.

When I connect my Samsung Galaxy s3 via USB and turn on Developer mode it fails to show up in connected devices. I can see my phone and in the"my Computer" section of windows. My ohone also says its conneted as a media device. I don't have a choice to connect it as "charge only" mode. I only have "MPT or PTP" mode in SUB connection options.

3 Answers

Ratul Sarna
PLUS
Ratul Sarna
Courses Plus Student 11,618 Points

There is an additional step to connecting your hardware device to the SDK on your computer. It depends on the OS you are running on the system. Here is a link that explains step by step what needs to be done. If you get stuck at some point, feel free to ask here.

http://developer.android.com/tools/device.html

Harry James
Harry James
14,780 Points

Hey Timothy!

Sorry to hear you're having problems!

Here are some steps you can take to get your device working:

1) Open the SDK Manager and scroll to the bottom to find "Extras". Here, look for the Google USB Driver and install it. 2) Plug your device in under Media Transfer mode and under Developer Options on your device, ensure that Android debugging is checked. You may also get a message on your screen to activate USB Debugging, if you do, allow it. 3) Try to run your app now, you should be sorted!


Troubleshooting

If you are still having problems, try the following:

1) (Re)install drivers - Open Control Panel, navigate to Hardware and Sound and then click Device Manager. Locate your Android device and right-click it. Then press Update driver software. After that, click Browse my computer for driver software. Then, click Let me pick from a list of device drivers on my computer. Once you've done that, select Show All Devices and press Next. Then, press Have Disk. Now, enter the path to your Android SDK and the Google USB Driver (It is commonly something like ...\sdk\tools\extras\google\usb_driver. After that, choose Android ADB Interface and press Next. On the confirmation dialogs, press Yes and Install. Then you should be sorted!

2) Reset the ADB - To do this, open the DDMS view (If you do not already have this available, use the Open Perspective button next to Java. Then, hit the dropdown arrow by Devices and then Reset ADB. You can also click here for a short gif showing you how to do this.

Hope it helps and if you have any further questions, feel free to ask!