Saturday, October 20, 2018

Android Studio 3.1

Posted past times Jamal Eason, Product Manager, Android

We are excited to denote that Android Studio 3.1 is forthwith available to download inwards the stable unloose channel. The focus areas for this unloose are around production character in addition to app evolution productivity. In add-on to many underlying character changes, nosotros added several novel features into Android Studio 3.1 that yous should integrate into your evolution flow.

New to Android Studio 3.1 is a C++ functioning profiler to aid troubleshoot functioning bottlenecks inwards your app code. For those of yous alongside a Room or SQLite database inwards their your app, nosotros added amend code editor back upward to assist inwards your SQL tabular array in addition to inquiry creation statements. We also added amend lint back upward for your Kotlin code, in addition to accelerated your testing alongside an updated Android Emulator alongside Quick Boot. If whatever of these features audio exciting or yous are looking for the adjacent stable version of Android Studio, yous should download Android Studio 3.1 today!

Check out the listing of novel features inwards Android Studio 3.1 below, organized past times cardinal developer flows.

What's novel inwards Android Studio 3.1

Develop

  • Kotlin Lint Checks - Since announcing official Kotlin linguistic communication support final yr on the Android platform, nosotros conk along to invest inwards Kotlin linguistic communication back upward inwards Android Studio. In Android Studio 3.1, nosotros enhanced the Lint code character checks in addition to therefore that forthwith yous tin sack run them via the command problem every bit good every bit from the IDE. Just opened upward a Android Studio project, in addition to run gradlew lint via command line. Learn more.

Kotlin Lint checks via command problem

  • Database Code Editing - Editing inline SQL/Room Database code inwards your Android projection is forthwith fifty-fifty easier alongside Android Studio 3.1. This unloose has SQL code completion inwards your @Query declarations, amend SQL tilt refactoring, in addition to SQL code navigation across your project. Learn more.

Room Database code completion

  • IntelliJ Platform Update: Android Studio 3.1 includes the IntelliJ 2017.3.3 platform release, which has many novel features such every bit novel Kotlin linguistic communication intentions in addition to built-in back upward for SVG icon preview. Learn more.

Build

  • D8 Dex Compiler - D8 is forthwith the default dex compiler inwards Android Studio 3.1. Replacing the legacy DX compiler, D8 dexing is an nether the hood APK compilation pace that makes your app size smaller, enables accurate pace debugging, in addition to many times leads to faster builds. Ensure that your gradle.properties either has no android.enableD8 flag, or if it does ensure that it is laid to true. Learn more.
  • New Build Output Window - Android Studio 3.1 has an updated Build output window which organizes construct condition in addition to errors inwards a novel tree view. This modify also consolidates the legacy Gradle output into this novel window. Learn more.

New Build Output Window

Test

  • Quick Boot - Quick Boot allows yous to resume your Android Emulator session inwards nether vi seconds. Slow initiative of all fourth dimension on the Android Emulator was a major hurting indicate nosotros heard from yous in addition to Quick Boot solves this issue. Like a physical Android device, the emulator must perform an initial mutual coldness boot, simply subsequent starts are fast. The characteristic is enabled past times default for all Android Virtual Devices. Additionally, inwards this release, yous convey finer grain controls of when to role Quick Boot in addition to the mightiness to relieve the quick kick soil on involve nether the emulator settings page. Learn to a greater extent than of other come about Android Emulator Features.

Quick Boot On Demand Setting

  • System Images in addition to Frameless Device Skins - The latest version of the Android Emulator forthwith supports the Google Play Store in addition to Google APIs on API 24 (Nougat) - API 27 (Oreo) emulator systems images every bit good every bit the P Developer Preview. Additionally the device emulator skins are updated to operate inwards a novel frameless mode, which tin sack aid yous exam your app alongside 18:9 concealment aspect ratios, or Android P Developer Preview DisplayCutout APIs. Learn more.

Window frameless fashion inwards the Android Emulator

Optimize

  • C++ CPU Profiling - Last yr alongside Android Studio 3.0, nosotros launched a gear upward novel laid of Android profilers to mensurate the CPU, Memory, in addition to Network Activity inwards your app. With Android Studio 3.1, inwards add-on to functioning profiling your Kotlin in addition to Java linguistic communication app code, yous tin sack forthwith profile your C++ code inwards your app. Using simpleperf every bit backend, the C++ profiler allows yous to tape C++ method traces. Learn more.

C++ CPU Profiler

  • Network Profiler Updates: Threads & Network Request - To assist alongside analyzing network traffic inwards your app, nosotros added a novel Network Thread sentiment to inspect multithreaded network traffic, in addition to nosotros also added a novel Network Request tab to dig into the network requests over time. With these updates to the Network Profiler yous volition convey additional tools to draw the network traffic from each thread in addition to network asking all the means downwards through the network telephone band stack. Learn more.

Network Profiler alongside thread back upward

To recap, Android Studio 3.1 includes these novel major features:

Develop

  • Kotlin Lint Checks
  • Database Code Editing
  • IntelliJ Platform Update

Build

  • D8 Dex Compiler
  • New Build Output Window

Test & Debug

  • Quick Boot for Android Emulator
  • API 27 alongside Google Play Emulator System Images
  • Window frameless fashion for Android Emulator

Optimize

  • C++ Profiler
  • Network Profiler - Thread Support
  • Network Profiler - Request Support

Check out the release notes for to a greater extent than details.

Getting Started

Download

If yous are using a previous version of Android Studio, yous tin sack upgrade to Android Studio 3.1 today or yous tin sack download the update from the official Android Studio download page.

We appreciate whatever feedback on things yous like, issues or features yous would similar to see. If yous honour a põrnikas or issue, experience gratuitous to file an issue. Connect alongside us -- the Android Studio evolution squad ‐ on our Google+ page or on Twitter.

Related Post

Android Studio 3.1
4/ 5
Oleh