Android Studio v2.1 Released To Stable Funnel With Support For Android N, Java 8 Language Features, And Much More

Android Studio v2.1 Released To Stable Funnel With Support For Android N, Java 8 Language Features, And Much More

  • Development
  • News
  • Nougat 7.0

With last month’s discharge of the Android N Preview, the various tools team launched a preview discharge of Android Studio 2.1. Not just did the brand new version add support for that N Preview SDK, it introduced a couple of important important and welcomed additions, including adoption and support for most of the language features in Java 8, a semi-official change to the Jack compiler, an up-to-date New Project wizard, and additional enhancements towards the new and faster Android Emulator. Currently, Android Studio 2.1 continues to be promoted to Stable and it is open to all developers.

The greatest benefit of updating and switching towards the Jack compiler, apart from having fun with new Android N APIs like Launcher Shortcuts, is most likely adding Lambda Expressions. This is among the major language options that come with Java 8, and due to its implementation, the only one that’s backward compatible to Android 2.3 Gingerbread. The majority of the remaining Java 8 features won’t focus on versions over the age of Android N (API 24). However, if you are focusing on an application that may require N, check out default and static interface methods, repeatable annotations, and method references.

Developers updating from Android Studio 2. also needs to remember to not switch their gradle scripts to Jack when they positively use Instant Run within their projects-Jack does not support this selection yet. Knowing by most of the comments on our website (and my very own personal encounters), Instant Run is commonly fairly slow, unpredictable, and never particularly stable, making this might not be a large sacrifice for a lot of developers.

Should you viewed the recording embedded above, you might have observed the factor concerning the box. This can be a callback to some bit in regards to a mysterious box almost exactly 6 several weeks ago using the discharge of Android Studio 1.5 towards the Stable funnel. Because the video highlights, there are several commonalities between this release and also the 1.5 version mainly they both contained numerous bug fixes, plus they immediately preceded a brand new Android version along with a fairly major developer conference… within this situation, Google I/O 2016 (nudge)(nudge). Soon after that release, a preview of Android Studio 2. premiered having a boatload of recent features. In situation it isn’t completely apparent, they are not-so-subtly meaning that there are likely to be a very big update to Android Studio announced at I/O. It’ll most likely acquire some stage time throughout the keynote, then more thorough coverage throughout the What’s new in Android development tools session on day 2. I will be watching, so look out for bulletins.

If you are prepared to update towards the era, just open Android Studio and appearance for updates. If you are updating from v1.5 or older, you will need to customize the installer in the Android Tools page. Of course, you can also keep multiple versions of Studio installed concurrently, which can be important if you are focusing on a task that may neglect to build or suffer unpredicted issues on newer versions of Gradle.

Leave a Reply

Your email address will not be published. Required fields are marked *


Please wait...

Subscribe to our newsletter

Want to be notified when our article is published? Enter your email address and name below to be the first to know.