By developing an Android Studio project, you'll automatically be using Gradle, the build system projects are built on. To ensure your project goes smoothly, you need to know the files you'll be working with, which involve SDK properties, Gradle properties, and two Gradle built scripts. In this video, you'll learn about working with Gradle and other configuration files.
As I've previously described,…an Android Studio project is 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 configuration files.…I'm going to start with the file local.properties…which we'll find in the project root.…A brand new copy of this file will indicate…the location of the SDK.…By default, it's placed under the Android Studio…installation folder.…
I installed Android Studio under…c:\AndroidStudio,…and the SDK folder is under there.…If I have another copy of the SDK,…I can reset this value.…But this option, as with many options,…can be set through Android Studio's user interface…so you don't have to be working in the file itself.…For this particular value,…you can select the project,…then go to the menu and choose File,…Project Structure,…and the very first option is labeled SDK Location.…
You can either enter the value here,…or browse for it.…You can also change which version of…the Java Developers Kit you are using.…
Note: This course was revised on 8/20/2014 to reflect changes in the .0.8.4 beta version of Android Studio.
- Exploring Android Studio and IntelliJ IDEA
- Installing Android Studio
- Creating projects with Android Studio
- Navigating the user interface
- Designing activity layouts
- Analyzing and refactoring code
- Debugging and packaging apps
Skill Level Beginner
Q: This course was updated on 8/20/2014. What changed?
A: We revised this course to reflect changes to the Android Studio beta, released at the 2014 Google I/O conference. This update was recorded with Android Studio .0.8.4, which contains a new project wizard and updates to the Gradle build system. For more information about the changes in this course, check out the "What's new in this update" movie.