Chiradeep
Chiradeep

Reputation: 991

Android Studio Build only 1 Module

Can someone tell me how to build a module,i.e Only Single Module ? There is only one option to build the whole project,but If in the project there are multiple modules then how to build those separately ?

Upvotes: 10

Views: 8182

Answers (1)

nimble_ninja
nimble_ninja

Reputation: 383

Select the module you want to build or the build.gradle file itself in the project view. (Other views might also work; I think what's important is that whatever has focus, either in the project view, editor or elsewhere, will be the module available for building.)

Now go to Build in the menu bar. There should be an option to make that individual module directly under the option to make the whole project.

(I have only tested this in versions 1.5 and 2.0).

Upvotes: 7

Related Questions