New features updated in Android Studio 3.0
Google announced at Google I/O 2017, Android Studio 3.0 is a large update focused on accelerating your app development on Android. Finally the stable version of Android Studio has been released last week. This release of Android Studio is packed with many new updates, but there are three major feature areas you do not want to miss, including: a new suite of app profiling tools to quickly diagnose performance issues, support for the Kotlin programming language, and a new set of tools and wizards to accelerate your development on the latest Android Oreo APIs.
Google also invested time in improving stability and performance across many areas of Android Studio. If you are looking for high stability, want to build high quality apps for Android Oreo, develop with the Kotlin language, or use the latest in Android app performance tools, then you should download Android Studio 3.0 today.
Check out the list of new features in Android Studio 3.0 below, organized by key developer flows.
- Kotlin Programming language – As announced at Google I/O 2017, the Kotlin programming language is now officially supported for Android development. Kotlin is an expressive and concise language that is interoperable with existing Android languages and runtimes, which means you can use as little or as much of the language in your app as you want. Kotlin is a production-ready language used by many popular Android apps on Google Play today.
- Java 8 Language features – In Android Studio 3.0, Google is continuing to improve the support for Java 8 language features. With the migration to a javac based toolchain, using Java 8 language features in your project is even easier.
- Layout Editor – The component tree in the Layout Editor has better drag-and-drop view insertions, and a new error panel.
- Adaptive Icon Wizard – The new wizard creates a set of launcher icon assets and provides previews of how your adaptive icon will look with different launcher screen icon masks. Support for VectorDrawable layers is new for this release.
- XML Fonts & Downloadable Fonts – If you target Android Oreo (API Level 26 and higher) for your Android app, you can now add custom fonts & downloadable fonts using XML with Android Studio 3.0.
- Android Things Support – Android Studio 3.0 includes a new set of templates in the New Project wizard and the New Module wizard to develop for the Android Things platform.
- IntelliJ Platform Update: Android Studio 3.0 includes the IntelliJ 2017.1 release, which has features such as Java 8 language refactoring, parameter hints, semantic highlighting, draggable breakpoints, enhanced version control search, and more.
- Instant App Support – With this release of Android Studio, you can add Instant Apps features to your project. Available for full development earlier this year, Instant Apps are lightweight Android apps that your users can immediately run without installation.
- Build Speed Improvements – To further improve the speed of Gradle for larger scale projects with many modules, Google introduced a rare breaking API change in the Android Gradle Plugin to improve scalability and build times.
- Google’s Maven Repository – To facilitate smaller and faster updates, Android Studio 3.0 utilizes Google’s Maven Repository by default instead of using the Android SDK Manager to find updates to Android Support Library, Google Play Services, and Firebase Maven dependencies.
Test & Debug
- Google Play System Images – We also updated the emulator system images for Android Oreo to now include the Google Play Store. Bundling in the Google Play store allows you to do end-to-end testing of apps with Google Play, and provides a convenient way to keep Google Play services up-to-date in your Android Virtual Device (AVD). Just as Google Play services updates on physical devices, you can trigger the same updates on your AVDs.
- OpenGL ES 3.0 Support in Android Emulator – The latest version of the Android Emulator has OpenGL ES 3.0 support for Android Oreo system images along with significant improvements in OpenGL ES 2.0 graphics performance for older emulator system images.
- App Bug Reporter in Android Emulator – To help in documenting bugs in your app, Google has added an easier way to generate a bug report with the Android Emulator with all the necessary configuration settings and space to capture your repro steps.
- Proxy Support in Android – If you use a proxy to access the Internet, Google has added a user interface to manage the HTTP proxy settings used by the emulator.
- Android Emulator Quick Boot (Canary) – One of the most common pain points are that the emulator takes too long to boot. To address this concern, Google is preview a new feature to solve this called Quick Boot, which significantly speeds up your emulator start time.
- APK Debugging – Android Studio 3.0 allows you to debug an arbitrary APK. This functionally is especially helpful for those who develop your Android C++ code in another IDE, but want to debug and analyze the APK in the context of Android Studio. Get started by simply selecting Profile or debug APK from the Android Studio Welcome Screen or File → Profile or debug APK.
- Layout Inspector – In this release Google has added a few additional enhancements for the Layout Inspector including better grouping of properties into common categories, as well as search functionality in both the View Tree and Properties Panels.
- Android Profiler – Android Studio 3.0 includes a brand new suite of tools to help debug performance problems in your app. Once you deploy your app to a running device or emulator, click on the Android Profiler tab and you will now have access to a real-time & unified view of the CPU, Memory, & Network activity for your app. Each of the performance events are mapped to the UI event timeline which highlights touch events, key presses, and activity changes so that you have more context on when and why a certain event happened.
- APK Analyzer Improvements – Google also updated APK Analyzer with additional enhancements to help you further optimize the size of your APK.