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) Creating the Screen Layout Getting to Know Our Tools

Vinay Mishra
Vinay Mishra
5,496 Points

'Build' and 'run'. What is the difference

I see the the video uses the terms 'build the app' and 'run the app'. What happens in each of them and how are they different?

1 Answer

Building is basically "compiling" your code to run. This is convenient, because you don't need to run your app in an emulator in order to check if there are any errors in your code. Later on, you will "build" an app for release, in which you change several things in your code to prepare a release version.. but that comes later. If I missed anything, someone please correct me or add on to this explanation, but I think that covers it in a nut shell. If you want more info, check out the link here: (https://developer.android.com/tools/building/building-studio.html)