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 Creating the Screen Layout Adding a Button

Error while waiting for device: adb connection not available, or was terminated.

I keep getting the error message on my apps tab,"05/18 22:47:24: Launching app. Error while waiting for device: adb connection not available, or was terminated." I re-created my virtual device exactly how the video describes and it still will not run. Is there anything else I am missing. Please let me know.

Thank you, Christian

2 Answers

If the emulator is running fine close it and Android Studio then restart both.

I'm having the same problem. Tried restarting everything but, nothing changed. Even tried it on a different emulator but, nothing seems to work. Would appreciate some help.

I'm not sure why it is suddenly not working, the emulator boots completely there just doesn't seem to be a connection or anything.

Had same problem, clicked on debug and it fixed it.