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 trialLinda de Haan
12,413 PointsButton not responding in emulator
I did everything exactly the way Ben did it in the video. When I run the project in the emulator, the app shows up, but when I click the button nothing happens. It should turn the text from the ants fact to the ostriches fact.
I run it on a Nexus 5X API 27 emulator on Windows 10. Any thoughts on why it doesn't respond?
1 Answer
Linda de Haan
12,413 PointsOk, so I have a work around that does work. If I first run the emulator without the app and then run the app, the emulator shows up under 'connected devices'. I choose that one and then the app shows up in the already running emulator and the buttons work. Probably a bug from Android Studio.