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

Sydney Lo
Sydney Lo
2,999 Points

Connecting Android Device to Test Application.

I have an HP Touchpad with CM 9 and and HTC Sensation with CM 7. Non of which Eclipse recognizes. These are rooted devices. Does anyone know how to test applications on rooted Androids or know how to unroot HTC Sensations?

5 Answers

gary lucas
gary lucas
989 Points

I doubt rooting / not rooting has anything to do with the issue. I think I had to put my device into USB debugging mode, what platform are you working on? (osx, linux, windows)?

If your on Linux you may have to add a udev rule.

yes, it's a pain in the butt:

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

Good luck

Sydney Lo
Sydney Lo
2,999 Points

I on Windows 7. I think the problem is that the computer doesn't recognizes the phone. And it is in USB debugging mode. I've done some research and done things like install packages from the SDK but no luck.

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

Hi Sydney,

Unfortunately, it can be a bit of a pain sometimes to get your phone recognized by Eclipse on Windows. Oftentimes you will need to install hardware-specific drivers from the vendor. It sounds like the Touchpad is a particularly tricky one. If you haven't already, take a look at this question on StackOverflow with a detailed answer about how to debug on the Touchpad.

As @Gary said, having the device rooted and running a custom ROM probably does not have anything to do with it (I've never had any problems like that with my own rooted devices on Windows or a Mac).

Let us know if it works!

Sydney Lo
Sydney Lo
2,999 Points

Thanks Gary and Thank you Ben! The guide you sent me on StackOverflow worked perfectly for my Hp Touchpad! Keep up the good work Ben.