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 Build a Simple Android App (2014) Testing and Debugging The Android Log

Do 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

Hi 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.


Gotcha! 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?

That'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.

Ok thanks for the help Steve!