[go: up one dir, main page]

Release updates archive

Android Studio - Dolphin | 2021.3.1 Canary 7 is now available in the Canary and Dev channels.

If you already have an Android Studio build on the Canary or Dev channel, you can get the update by clicking Help > Check for Update (or Android Studio > Check for Updates on macOS). Otherwise, you can download it here.

For information on new features and changes in all preview builds of Android Studio Dolphin, see the Android Studio Preview release notes. For details of bugs fixed in each preview release, see previous entries on this blog.

We greatly appreciate your bug reports, which help us to make Android Studio better. If you encounter a problem, let us know by reporting a bug. Note that you can also vote for an existing issue to indicate that it also affects you. 

New features

SDK insights
For public SDKs or dependencies that have been marked as outdated by their authors, you will now get Lint warnings in build.gradle files to update these dependencies. This is because using outdated versions could prevent you from publishing to the Google Play Console in the future.

General fixes

This update includes fixes for the following issues:

Android Gradle Plugin
Import/Sync
Lint
  • Issue #220161119: Lint IconMissingDensityFolder message uses absolute path in lint-baseline.xml
  • Issue #222095229: Move VersionChecks into API package to open up visibility
  • Issue #221488045: Lint's NewApi checks don't handle `when` statements in Kotlin
Known Issues
There is a known issue regarding the Firebase option not being available in the Tools menu. For a workaround, you can double-shift to search everywhere. Or, you can ctrl-shift-a to find an action and then search for "firebase".

Android Studio - Dolphin | 2021.3.1 Canary 6 is now available in the Canary and Dev channels.

If you already have an Android Studio build on the Canary or Dev channel, you can get the update by clicking Help > Check for Update (or Android Studio > Check for Updates on macOS). Otherwise, you can download it here.

For information on new features and changes in all preview builds of Android Studio Dolphin, see the Android Studio Preview release notes. For details of bugs fixed in each preview release, see previous entries on this blog.

We greatly appreciate your bug reports, which help us to make Android Studio better. If you encounter a problem, let us know by reporting a bug. Note that you can also vote for an existing issue to indicate that it also affects you. 

General fixes
The bug fixes included in this update can be found here. For details of bugs fixed in each preview release, see previous entries on this blog.
New featuresNew Logcat

Logcat has been updated to make it easier to parse, query, and track logs. This represents the most significant update to the tool since its introduction, and we would appreciate early feedback to make sure we create the best experience for you.

New formatter

Logcat now formats logs to make it easier to scan useful information, such as tags and messages, and identify different types of logs, such as warnings and errors.
















Create multiple Logcat windows


You can now create multiple tabs within Logcat, so that you can easily switch between different devices or queries. Right-clicking a tab allows you to rename it, and you can click and drag to rearrange the tabs.

Additionally, to help you more easily compare between two sets of logs, you can now split the view within a tab by right-clicking in the log view and selecting either Split Right or Split Down. To close a split, right-click and select Close. Each split allows you to set its own device connection, view options, and query.










Switch between view presets

Logcat now allows you to quickly switch between different view modes—Standard, Compact, and Custom—by clicking . Each view mode provides a different default setting for showing you more or less information, such as timestamps, tags, and process IDs (PIDs). You can also customize each of these default view modes, as well as a custom view mode, by selecting Modify View.
























New key-value search

In the previous version of Logcat, you had the option to either use string search (with support for regular expressions) or create a new filter by populating various fields using the Logcat UI. The first option made search more complex and the second option made sharing and setting up queries more difficult. We’ve now simplified the experience by introducing key-value searches right from the main query field.













This new query system provides accurate query results, without relying on regular expressions, as well as the ability to recall past queries from history, and share those queries with others. Additionally, you still have the option to use regular expressions and exclude logs based on key-values. Here are some examples of how to use the new query system, but you can also simply start typing in the query field to see suggestions:

  • PIDs for the local app project: package-mine
  • Specific values:
    • package:<my-package-ID>
    • tag:<my-tag>
    • level:[VERBOSE | INFO | ASSERT | DEBUG | WARN | ERROR]
  • Exclude a specific value by preceding the key with -:
    • -tag:<exclude-this-tag>
  • Use the regular expressions with a given key by placing a ~ after the key:
    • tag~:<regular-expression-tag>
    • Combine with the exclude tag: -tag~:<exclude-this-regex-tag>

You can also see a history of queries by clicking in the query field and selecting them from the drop down. To favorite a query so that it stays at the top of the list across all your studio projects, click the at the end of the query field.











Track logs across app crashes/restarts

The new Logcat now makes it easier to track logs from your app across app crashes and restarts, so that you don’t miss important logs across these events. When a Logcat notices that your app process has stopped and restarted you’ll see a message in the output—such as PROCESS ENDED and PROCESS STARTED—as shown below:










And, restarting Logcat preserves your session configuration, such as tab splits, filters, and view options, so that you can continue your session easily. We appreciate any feedback you might have with the new Logcat, which you can report here.

Android Studio - Chipmunk | 2021.2.1 Beta 4 is now available in the Beta channel.

If you already have an Android Studio build on the Beta channel, you can get the update by clicking Help > Check for Update (or Android Studio > Check for Updates on macOS). Otherwise, you can download it here.

For information on new features and changes in all preview builds of Android Studio Chipmunk, see the Android Studio Preview release notes. For details of bugs fixed in each preview release, see previous entries on this blog.

General fixes and features

This update includes fixes for the following issues:

Android Gradle Plugin
  • Issue #207670704: AGP 7.2.0-alpha05 breaks builds that use the Navigation Safe Args plugin
  • Issue #204328120: Vague error for invalid values.xml file
  • Issue #218370114: "Java file outside of source root" when using manifest.srcFile
  • Issue #210484302: Android studio 2021.1.1 beta5 . Gradle sync fails with "Unable to load class 'com.android.build.api.extension.AndroidComponentsExtension'."
  • Issue #196226533: AGP should not use ProjectComponentIdentifier.projectPath without ProjectComponentIdentifier.build
  • Issue #203003899: AGP looks for ANDROID_SDK_ROOT, not ANDROID_HOME
Build Variants
  • Issue #158597249: versionNameSuffix no longer works if variant's version name is set via the new onVariants API
Compose Editing
Emulator
Lint
Navigation
Network Inspector
  • Issue #217765670: Network Inspector in BumbleBee doesn't show the api response in readable format
  • Issue #219572925: TrackedHttpURLConnection.getHeaderField crashes with NullPointerException
  • Issue #220807361: I am constantly getting this error when the debugger is connected on the latest version of Android Studio.
  • Issue #219563755: New Network Inspector crashes after Bumblebee update
New Code/Templates
  • Issue #117641634: Bug of error message: Argument for @NotNull parameter 'text2' of com/intellij/diff/comparison/ComparisonManagerImpl.isEquals must not be null
We greatly appreciate your bug reports, which help us to make Android Studio better. If you encounter a problem, let us know by reporting a bug. Note that you can also vote for an existing issue to indicate that it also affects you.

Android Studio - Dolphin | 2021.3.1 Canary 5 is now available in the Canary and Dev channels.

If you already have an Android Studio build on the Canary or Dev channel, you can get the update by clicking Help > Check for Update (or Android Studio > Check for Updates on macOS). Otherwise, you can download it here.

For information on new features and changes in all preview builds of Android Studio Dolphin, see the Android Studio Preview release notes. For details of bugs fixed in each preview release, see previous entries on this blog.

We greatly appreciate your bug reports, which help us to make Android Studio better. If you encounter a problem, let us know by reporting a bug. Note that you can also vote for an existing issue to indicate that it also affects you. 

General fixes

The bug fixes included in this update can be found here. For details of bugs fixed in each preview release, see previous entries on this blog.

New features

Support for debugging Kotlin coroutines

Android Studio Dolphin now adds support for debugging Kotlin coroutines in your Android projects. The supported functionality is similar to what is currently available in IntelliJ IDEA 2021.3 and higher, but is now also available in Android Studio.

Before you get started, ensure that your app project uses kotlinx-coroutine-core version 1.6.0 or higher. Then, debug your app as you normally would on a device running API level 29 or higher. 

When setting a breakpoint in a suspend function, make sure the breakpoint sets Suspend to All
When your app hits the breakpoint, you can see coroutines and their stages grouped by dispatcher in the Coroutines tab. You can use the Variables tab as you normally would, so that you can investigate values of local variables and fields available in a coroutine at each breakpoint.
Known issuesFirebase option missing in Tools menu
Starting with Android Studio Dolphin Canary 5, the missing Firebase option in the Tools menu can be found by doing a double-shift to search everywhere or ctrl-shift-a to find action and then searching for "firebase".

Android Studio - Dolphin | 2021.3.1 Canary 4 is now available in the Canary and Dev channels.

If you already have an Android Studio build on the Canary or Dev channel, you can get the update by clicking Help > Check for Update (or Android Studio > Check for Updates on macOS). Otherwise, you can download it here.

For information on new features and changes in all preview builds of Android Studio Dolphin, see the Android Studio Preview release notes. For details of bugs fixed in each preview release, see previous entries on this blog.

General fixes and features

The bug fixes included in this update can be found here. For details of bugs fixed in each preview release, see previous entries on this blog.

We greatly appreciate your bug reports, which help us to make Android Studio better. If you encounter a problem, let us know by reporting a bug. Note that you can also vote for an existing issue to indicate that it also affects you.

Android Studio - Chipmunk | 2021.2.1 Beta 3 is now available in the Beta channel.

If you already have an Android Studio build on the Beta channel, you can get the update by clicking Help > Check for Update (or Android Studio > Check for Updates on macOS). Otherwise, you can download it here.

For information on new features and changes in all preview builds of Android Studio Chipmunk, see the Android Studio Preview release notes. For details of bugs fixed in each preview release, see previous entries on this blog.

General fixes and features

The bug fixes included in this update can be found here. For details of bugs fixed in each preview release, see previous entries on this blog.

We greatly appreciate your bug reports, which help us to make Android Studio better. If you encounter a problem, let us know by reporting a bug. Note that you can also vote for an existing issue to indicate that it also affects you.