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

Steve.

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!