@androiddev - delivers news and announcements for developers from the Android team at Google
🤖 Crash reports made easy with Android Gradle plugin
Make your Android Vitals crash reports for production native code more actionable. The trick: packaging native debug symbols in your app bundle with a flip of a flag. #11WeeksOfAndroid
In the middle of the week, we released four blogs posts around the build system in Android developer tools, which included:
New APIs in the Android Gradle Plugin - details the new Domain Specific Language (DSL) interface and documents the new direction for extending the built-in build APIs.
Configuration Caching deep dive - a technical explanation on this new preview feature from Gradle and how to try it out in your project to speed up your builds.
Shrinking Your App with R8 - provides an overview of the features available in R8, the reduction in code size you might expect, and show how to enable these features in R8.
Android Emulator
On top of sharing a series of best practices and tips on social media about using the Android Emulator during the week, you can also a full summary in the following in-depth article:
Developing for Android 11 with the Android Emulator - outlines new feature areas like 5G connectivity and foldable device support, and other advantages for using the Android Emulator as a part of your daily development workflow.
Performance Profilers
We know improving app performance is critical for a great user experience. Therefore, we ended the week with a day on performance profilers content. To start, we posted a video about System Trace and how you can use it to troubleshoot app performance issues:
Troubleshooting app performance issues with System Trace in Android Studio
Plus, we published a blog post on C++ memory profiling:
If you’re looking for an easy way to pick up the highlights of this week, check out the Developer Tools pathway. A pathway is an ordered tutorial that allows users to complete a pre-defined module that culminates in a quiz. It includes videos and blog posts. A virtual badge is awarded to each user who passes the quiz. Test your knowledge of key takeaways about Developer Tools to earn a limited edition badge.
Key takeaways
Thank you for tuning in and learning about the latest in Android Development tools. Thanks to all of you who chatted with us during the Reddit AMA this week. Throughout this past week, we showcased features that can be found either in the latest stable release or the canary release channel of Android Studio. If you want to try out what you learned this week, download Android Studio today.
Below, you will find a quick listing of where you will find each of the major features. Note, that features in non-stable versions may not land in a particular version until they have reached our quality bar:
Features found in Android Studio 4.0 (Stable Channel)
Motion Editor
Layout Inspector
Layout Validation
Custom View Preview
CPU Profiler Update
R8 Rules Editing
Build Analyzer
Dynamic Feature Dependency
Clangd support
Intellij 2019.3
Features found in Android Studio 4.1 (Beta Channel)
Database Inspector
Dependency Injection Tools
Faster Apply Changes
Gradle Configuration Caching (Preview)
Custom View Preview
Android Emulator in IDE
Instrumentation Testing
Profiler UI Updates
Native Memory Profiling
System Trace 2.0
New Gradle API
MLKit & TFLite Model Import
Intellij 2020.1
Features found in Android Studio 4.2 + (Canary Channel)
Compose Interactive Preview
Compose Animation Visualization
Compose Deploy to Device
Sample Data API for Compose
Compose Editing Support
Test Failure Retention
Android Emulator- 5G Connectivity and Foldable Support
Intellij 2020.2 - coming soon
Resources
You can find the entire playlist of #11WeeksOfAndroid video content here, and learn more about each week here. We’ll continue to spotlight new areas each week, so keep an eye out and follow us on Twitter and YouTube. Thanks so much for letting us be a part of this experience with you!