Use the IDE to build the project. When you click either the Build Main Project or the Clean and Build Main Project toolbar button, the IDE creates the project build directories and uses the compiler and Packager tools to compile the source code and package the complied source files with other required resources. By using the IDE, you do not have to run the compiler and Packager tool as separate activities.