What’s new in Android Studio? A lot of things, some of which make use of generative AI to improve your workflow. Here’s what got announced at #GoogleIO 🧵
Android Studio Hedgehog (the latest Canary version, and no, its logo isn’t Sonic) adds a new AI-powered conversational feature called Studio Bot, better tools to develop for multiple form factors, and new insights, debugging, and testing solutions.
Studio Bot is an AI-powered conversational experience that leverages Codey, Google’s foundation model for coding, to help you generate code for your app. You can also ask it questions about Android development or to help you fix errors in your code.
Google cautions that Studio Bot is in its very early stages, so expect it to make mistakes. That being said, it’ll hopefully continue to improve through your use and feedback. Studio Bot is currently only available to Android developers in the U.S.
If you’re worried about your IP, Google says only the chat dialogue between yourself and Studio Bot is shared with the company — not your source code. You can learn more about Studio Bot here: developer.android.com/studio/preview…
You can start preparing your app to take advantage of the expanded screen sizes and functionality of new foldables and tablets launching later this year (Pixel Fold and Pixel Tablet) by creating AVDs using these new profiles in Android Studio Hedgehog.
If you’re looking to make an app for the new version of Wear OS — Wear OS 4 based on Android 13 — you can test the new platform features through the new Wear OS 4 emulator. developer.android.com/training/weara…
If you want to test your app on a physical Pixel device and don’t have one, you can use Android Device Streaming to stream a remote physical Pixel device directly within Android Studio. An early access program will launch later this year. developer.android.com/studio/preview…
The Espresso Device API will help you write tests that perform synchronous configuration changes when testing on AVDs running API level 24 and higher. This will help you test your app across configuration changes like rotating or folding a device. developer.android.com/studio/preview…
Android Studio Hedgehog will let you view important crash reports from Android vitals, building on the App Quality Insights feature first introduced in Android Studio Electric Eel.
A new Power Profiler feature will show power consumption data segmented by each sub-system, such as Camera, GPS, etc. This data is available when recording a System Trace via the Profiler so you can visually correlate power consumption with what’s happening in your app.
The Device Explorer (previously Device File Explorer) now includes info about debuggable processes running on connected devices, accessed through the new Processes tab. Here you can select a process and kill it, force stop it, or attach the debugger.
Gradle Managed Devices can now target real, physical devices running in Firebase Test Lab, so you can more easily scale automated tests in your CI infrastructure across the large number of devices available through FTL. This is available with Android Gradle Plugin 8.2.
Android Studio Hedgehog includes IntelliJ 2023.1, the release notes of which are available here: jetbrains.com/idea/whatsnew/… The New UI has been improved with a new Compact Mode.
There are other changes, many of which were already announced/are already available, such as Live Edit for Compose UI, default Kotlin DSL in Gradle build scripts, automatic per-app language support, Android SDK Upgrade Assistant, etc. See Google’s blog post for the full details!
• • •
Missing some Tweet in this thread? You can try to
force a refresh
Google has announced that in Android 14, Health Connect "will be a core part of Android and available on all Android mobile devices." As I previously reported, this is because Health Connect is being shipped as part of a new, mandatory Project Mainline module.
Health Connect in Android 14 will introduce a new exercise routes feature to let users share maps of their workouts and improvements to menstrual cycle logging. And because it's a new Mainline module, it can be updated through Google Play System Updates.
Here's a screenshot of Health Connect integrated into Privacy settings.
Google highlighted some major improvements to Jetpack Compose at #GoogleIO 2023. Here’s a summary of some of the highlights:
In the latest alpha release, Google says they’re seeing an average 22% performance gain for Text and TextField after migrating modifiers to a new and more efficient system. To take advantage of this, update your Compose version.
Compose now also supports the latest emoji version and new text features like outlining text, hyphenation, and line breaking behavior configuration.
At this year’s #GoogleIO, Google is announcing a bevy of new features for Google Play, including many that leverage generative AI to make it easier to market your app. Here’s a summary of what they announced 🧵:
A new AI tool will help you get started with making a store listing for your app. Just enter a few prompts like audience and key theme, and Google Play’s AI helper will generate a draft you can edit, discard, or use. This is currently only available in English.
Google Play will show review summaries created by Google’s generative AI technology. These summaries — starting with English but expanding later this year — will help users quickly learn about your app from what other users have been saying about it.
Google is showing some love for Wear OS at #GoogleIO 2023. Here’s a summary of what they announced, including the new Wear OS 4 Developer Preview based on Android 13 👀!
Do you like watch faces? It’s the thing you stare at/interact with the most, so it’s no surprise they get a lot of attention. Samsung and Google have teamed up to announce the Watch Face Format: a new way to build watch faces for Wear OS.
According to Google, the Watch Face Format is a declarative XML format to design the appearance and behavior of watch faces. There won’t be any executable code involved in making a watch face, and no code will be embedded in the watch face APK.
Here’s what’s new with Android for Cars (Android Auto and Android Automotive OS), as announced at #GoogleIO 2023. The biggest announcement IMO is Android Automotive OS 14 based on Android 14 and the new multi-screen feature it’ll bring 👀
Before I get ahead of myself, though, let’s recap Google’s announcements, starting with why you should care. Google expects the # of cars running Android Automotive OS with Google built-in to nearly double by the end of 2023.
Google’s only counting cars whose makers have licensed Google apps (hence “Google built-in”), so there’ll be even more cars running Android Automotive on the streets as some makers opt not to license Google Automotive Services (GAS).
The #GoogleIO keynote has kicked off with an appearance from Sundar! In this thread I'll talk about anything new Google announces that's directly related to Android. 👇
Immersive View in Google Maps for Android is getting a major revamp! You'll be able to see an immersive view of your routes and any relevant weather info.
Coming to 15 cities by the end of the year.
Google Photos is getting a new AI-powered Magic Editor feature! This is rolling out later this year.