Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Android

LogCat says TID -1 Device disconnected

I Have no errors as I run my activity_main.xml in the CrystalBall project. When it opens the android emulator it fires up ok but after a while I see LogCat has TID = -1 Device disconnected - I have no errors or warnings in my project. Any suggestions on where to look or what to fix would be greatly appreciated. I am running Windows 8 and installed the 32bit android version (maybe that is the problem?) - Thanks, Marc

1 Answer

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

I don't know what could be causing that error, but one possible fix is to restart the adb (Android Debug Bridge) as per the instructions in this StackOverflow answer: http://stackoverflow.com/a/10355416/475217