Android Studio projects are built around the Gradle build system. When you create an Android Studio project, it's populated with two Gradle scripts and a couple of other important configuration files. I'm looking at this project, Gradle Scripts, and I'm using the Android view, so I'm only looking at files that I'll use during the development process. I'll open the Gradle Scripts folder and go to this file, local.properties. Now, I'm not including this file in each of the projects in the exercise files because its setting is unique to each computer's file system.
- [Instructor] Android Studio projects…are built around the Gradle build system.…When you create an Android Studio project,…it's populated with two Gradle scripts…and a number of other important configuration files.…I'm looking at this project in the project window…with the Android scope,…and I've opened up the Gradle Scripts virtual directory.…The purpose of this virtual directory…in the Android scope is to group…all of the configuration files together in a single list…even though in reality they're stored in different locations…on the hard disk.…I'll start with the file local.properties.…
This is a file that includes the location…of your Android SDK.…It'll look different on Windows versus Mac,…and it'll also be very specific…to your particular directory structure.…If you delete the local.properties file,…it'll be regenerated automatically…when you start up the project.…You can change the location of your Android SDK,…but it's best not to do it in this particular file.…Instead, you should go to the Project Structure dialogue,…
- Installing Android Studio
- Creating your first Android Studio project
- Managing profile files, including Gradle scripts and support libraries
- Defining screens with activities
- Implementing designs in XML layouts