Record a method trace during app startup

You can now record a method during app startup. Enable the feature by selecting

Run > Edit Configurations

from the main menu and, under the

Profile

tab of your desired run configuration, checking the box next to

Start recording a method trace on startup

. After that, simply deploy your app to a device running Android 8.0 or higher by selecting

Run > Profile

.

Lint checks to ensure Java code interops well with Kotlin (available since Canary 10)

To make sure your Java code interoperates well with your Kotlin code, new Lint checks enforce the best practices

described in the Kotlin Interop Guide . This includes checking for the presence of Nullability annotations, use of

Kotlin hard keywords, placing lambda parameters last, and others.

To enable these checks, go to File > Preferences > Editor > Inspections and check the rules that you want to enable under Kotlin Interoperability:

Once you have checked the rules you would like to enable, the new checks will run when you run your code inspections (Analyze > Inspect Code…)

To enable these checks from the command-line builds, add the following line in your build.gradle file:

android {

lintOptions {

check 'Interoperability'

}

}





General bug fixes

This update includes fixes for the following public issues:

Issue#77240636: Solid black-filled areas are missing in a vector drawable imported from SVG

Issue#77303892: Losing alpha channel in Image Asset Studio on Windows with Russian Locale.

Issue#77522540: Deprecation for 'compile' points people to 'implementation'

Issue#68977385: Lambda causes crash in specific situation

Issue#72637989: Build does not run with instant run enabled on AS 3.1 Beta 1

Issue#74961584: Studio disables sdcard whenever data partition is resized

Issue#74493350: Apply fix to multiple files by one operation

Issue#37075533: Lint check to avoid compiler-generated synthetic accessor methods & constructors.

Issue#76404689: Advanced profiling causes device to crash with StackOverflowError

Issue#72872264: Studio Freeze (ANR)

Issue#76456341: Multiline log messages should be indented consistently between the Logcat and Run windows

Issue#73048570: Translations Editor - deleting keys does not update list.