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) 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)