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!

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

Christian Diaz
Christian Diaz
622 Points

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

Seth Kroger
Seth Kroger
56,409 Points

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

Eduardo Daniel Brito Reyes
Eduardo Daniel Brito Reyes
7,032 Points

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.

Chris Benetti
Chris Benetti
2,207 Points

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