Build your app from the command line | Android Studio | Android Developers
Find out how you can execute all the build tasks available to your Android project using the Gradle wrapper command line tool.