Android Studio brings enhanced Kotlin support, smaller builds and more


Google has announced Android Studio 3.1 is now stable and available, featuring enhanced Kotlin support, smaller builds, recent IntelliJ platform updates and more.

Since becoming a first-class programming language option along with Java and C++ last May, Kotlin has enjoyed popularity among developers and Android’s core dev team.

In a video, Android Developer Advocate Wojtek Kaliciński announced further Kotlin functionality.

“On the Kotlin front, Android studio 3.1 now bundles the latest plugin and supports running lint checks for Kotlin code on the command line,” Kaliciński said.

“We plan to continue our work to make sure we’re providing first-class support for Kotlin in our developer tools.”

Even more new Kotlin functionality comes with updates to Android Studio’s underlying IntelliJ platform, specifically version 2017.3.3. That new functionality includes new Kotlin language intentions and built-in support for SVG image previews.

Jamal Eason, Android product manager, also highlighted smaller builds resulting from the switch from a legacy DX compiler to the new D8 dexer, used to convert Java bytecode to dex (Dalvik executable) code.

“D8 is now the default dex compiler in Android Studio 3.1,” Eason said.

“Replacing the legacy DX compiler, D8 dexing is an under the hood APK compilation step that makes your app size smaller, enables accurate step debugging, and many times leads to faster builds.”

Kaliciński said the feature results in:

  • 10-15 percent smaller dex files
  • Faster and more memory efficient dexing
  • Incremental desugaring
  • Better step-by-step debugging

C++ coders also received some good news with the new release, which features a C++ performance profiler to help troubleshoot performance bottlenecks in source code.

“We received a lot of feature requests for the Android profilers that were released in the last version of studio,” Kaliciński said.

“I’m happy to say that based on your feedback, we’ve added native CPU profiling for C++ code and the network profiler can now show request data and has a threads timeline.

“And to make it easier to find the information you need, the CPU and memory profilers now offer filtering by class or method name.”

Android Studio 3.1 can be downloaded here, and full details about all of the above and more can be found in the release notes.


Rapid Mobile uses cookies, tokens, and other third party scripts to recognise visitors of our sites and services, remember your settings and privacy choices, and - depending on your settings and privacy choices - enable us and some key partners to collect information about you so that we can improve our services and deliver relevant ads.


By continuing to use our site or clicking Agree, you agree that Rapid Mobile and our key partners may collect data and use cookies for personalised ads and other purposes, as described more fully in our privacy policy.


You can change your settings at any time by clicking Manage Settings or by visiting our Privacy Centre for more detailed information.


Privacy Settings saved!
Cookie Services

When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.

These cookies are necessary for the website to function and enable essential services and functonality, including identify verification, service continuity and site security. Opt out is not availabe.

Essential Session management cookies for logged in users
  • wordpress_test_cookie
  • wordpress_logged_in_
  • wordpress_sec

For perfomance reasons we use Cloudflare as a CDN network. This saves a cookie "__cfduid" to apply security settings on a per-client basis. This cookie is strictly necessary for Cloudflare's security features and cannot be turned off.
  • __cfduid

Used by Spamshield to stop spam signups
  • _wpss_h_
  • _wpss_p_

NewsWire Service
  • BIGipServerwidget2_www_http

Decline all Services
Accept all Services