Skip to main content


Showing posts with the label SetupProjectinAndroidStudio

What is Gradle ?

Gradle is a project automation tool that builds upon the concepts of Apache Ant and Apache Maven and introduces a Groovy-based domain-specific language (DSL) instead of the more traditional XML form of declaring the project configuration.
Unlike Apache Maven, which defines lifecycles, and Apache Ant, where targets are invoked based upon a depends-on partial ordering, Gradle uses a directed acyclic graph ("DAG") to determine the order in which tasks can be run.
Gradle was designed for multi-project builds which can grow to be quite large, and supports incremental builds by intelligently determining which parts of the build tree are up-to-date, so that any task dependent upon those parts will not need to be re-executed.
The initial plugins are primarily focused around JavaGroovy and Scala development and deployment, but more languages and project workflows are on the roadmap.

Creating new Project in Android Studio

Step 1: Create a New ProjectIf you didn't have a project opened, Android Studio shows the Welcome screen. To create a new project, click New Project. If you had a project opened, Android Studio shows the development environment. To create a new project, click File >New Project. The next window lets you configure the name of your app, the package name, and the location of your project.
Enter the values for your project and click Next. Step 2: Select Form Factors and API LevelThe next window lets you select the form factors supported by your app, such as phone, tablet, TV, Wear, and Google Glass. For each form factor, you can also select the API Level that your app requires. To get more information, click Help me choose.
The API Level window shows the distribution of mobile devices running each version of Android, as shown in Figure 2. Click on an API level to see a list of features introduced in the corresponding version of Android. This helps you choose the minimum API Level that ha…