Android Studio 2.3 was released in March 2017, and included many new features. This course allows you to learn about the new features of 2.2 and 2.3.
- [Instructor] Android Studio 2.3 was released in March 2017 and it includes many new features. In this update to this course, I'll describe some of the most useful ones. First of all, there's a completely new version of the layout editor, the user interface that let's you build your XML layout files using visual editing. New applications built with Android Studios included templates now are based on the new ConstraintLayout ViewGroup and the new layout editor can help you build your user interfaces using this new view group.
You can work in either code or visually with drag and drop. The changes made either way will be reflected in both preview and in live views. The Instant Run feature, which was introduced with Android Studio 2.0, has been changed to give you more control of your deployment options. The Run button on the toolbar has been split into two. The original Run button now does a complete build and deployment of your application every time while a new dedicated Apply Changes button deploys incrementally whenever possible.
The APK Analyzer tool which was introduced in Android Studio 2.2 let's you see what's in your APK files. The zip files that are your packaged apps for deployment. The analyzer tool breaks everything down by directory and file and let's you see what files are too large and might eligible for a shrinkage. The WebP format, which has been supported by Android for a while, can now be created directly in Android Studio. You can convert PNG, JPG and other graphic formats to WebP and shrink the size of your application dramatically.
The Espresso recorder which was also added in version 2.2 lets you record visual interactions with your app in a Java class and that Java class can then be used as a unit testing script. You can run the scripts whenever you need to to detect changes in your application. There are other changes and new features that I won't have time to cover in detail in this course. These include the new app indexing wizard that lets you create deep links in your apps so that people can navigate to your app with a particular URL and jump to a specific piece of content and improved C and C++ integration.
There are many other new features that you get automatically because Android Studio now is based on IntelliJ IDEA 2016.1. To learn more about those features, you can watch the course IntelliJ IDEA Community Essential Training. I'll cover some of those features in depth in other courses.
- 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
Skill Level Beginner
Q: This course was updated on 04/27/2017. What changed?
A: New videos were added that highlight the new features introduced in Android Studio 2.3. In addition, the following topic was updated: update apps with Instant Run.