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 trialDerek Markman
16,291 PointsDo we need to re-run the emulator to see the changes we make in our code?
Whenever we make changes to our code, do we need to close and re-run the android emulator to see the changes that we've made? Or is it possible to to see our changes while we still have an emulator open?
2 Answers
Steve Hunter
57,712 PointsHi Derek,
You don't need to restart the emulator, thankfully - that would take forever!!!
However, you will have to stop your app running in the emulator so that you are back to the home screen or desktop. When you next run your code, you'll see the messages show that it is installing the latest version to the emulated device.
Steve.
Derek Markman
16,291 PointsGotcha! Thanks Steve. So I just have to go back to the home screen and then in android studio i have to to just re run the code, right?
Steve Hunter
57,712 PointsThat's correct, yes. Studio will know the Emulator doesn't have the latest version and will overwrite the old app with the new one. But, the app needs to be closed to let that happen.
Derek Markman
16,291 PointsOk thanks for the help Steve!