This course is accompanied by exercise files that you can use to follow along with some of the demonstrations. I've copied the exercise files to my desktop, but you can place them anywhere on your hard disk. In most of this course's demonstrations, I'll be using projects that I create from scratch in Android Studio. But there are a few exercises where I'll use files from this folder. Under the Projects folder there are three Android apps. Memory app is an app that was created in a late beta version of Android Studio 2.0.
- [Voiceover] This course is accompanied by exercise files that you can use to follow along with the demonstrations on screen. I've copied the exercise files to my desktop, but you can place them anywhere on your hard disk. Most of the exercise files are organized by chapter. Within subchapter directories, you'll find subdirectories named for the chapter and video number, and within those, you'll sometimes find existing projects, and in other case, you'll find certain assets that you might find useful.
There are other chapter folders that simply have a file called nofiles.txt, and that's an indicator that I haven't provided files for that particular chapter. Now, unlike most Android courses, I'm not providing a lot of Android Studio projects with this course. That's because when I recorded the course, Android Studio 2 was still in public beta. I recorded the course with public beta six. So, the structure of the projects that I might provide might be different, in some cases, than what you'll be able to open with a more recent version of Android Studio.
Instead, I start most of the demonstrations with either a brand new project that you can create yourself, or by continuing with the previous project from another video. In almost all cases though, you should be able to walk through all of the exercises by creating your own Android Studio projects. When you create these projects, you can usually use any of the activity templates that are offered in the Create New Project dialogue. Most of the time, I've used the simplest template named Empty Activity, and I've accepted all the default settings.
Once a project has been created, it will have certain settings that are unique to your version of Android Studio. Most importantly, there's a file named build.gradle that's a part of the project, not the module. In this file, there's a reference to something called the gradle plugin and the correct version. The projects that I create and in some cases, provide, use gradle 2.0.0 beta6 If you're following along in the course with a more recent version of Android Studio, your gradle plugin will need to change.
That's why I'm primarily working with brand new projects. If you create your own project, they'll have the right settings for your copy of Android Studio, and there won't be any conflicts. But wherever I do provide an existing Android Studio project, you'll probably need to modify this build.gradle file and make it match your version of Android Studio, and the gradle plugin.
- Installing Android Studio on Mac and Windows
- Creating Android Studio projects
- Setting up the development environment, including HAXM and the new Android emulator
- Importing existing code into Android Studio projects
- Exploring the interface, including the editor and project windows
- Managing project builds and dependencies
- Creating new Java classes
- Refactoring code
- Using templates
- Using breakpoints and watch expressions
- Updating apps with Instant Run
- Using Git for version control