Home > News content

Android Studio 3.6 stable release

via:博客园     time:2020/2/26 10:01:36     readed:740

Android Studio 3.6Stable version released, this version is also The first release after that, System health,Functional perfectionAnd error repair, trying to build powerful and stable basic features and workflow in Android studio and Android simulator.

So in Android studio 3.6, in addition to introducing a small number of features and improving existing features, the development team also spent a lot of energy to solve errors and improve basic performance, so as to ensure that the high quality standards set last year are met. As mentioned in the announcement, this release focuses on improving the quality of code editing and debugging use cases.

3.6 Some of the updated highlights also include:

  • Introduce new ways to quickly design, develop, and preview app layouts using XML
  • New Design Editor
  • SDK download supports breakpoint retransmission
  • Automatically detect memory leaks for Fragment and Activity
  • Embed Google Maps application directly into Android simulator

Download address:https://developer.android.com/studio/#downloads

View binding(View binding)

When referencing views in code, View binding makes it easier for developers to write code that interacts with views by providing compile-time security. When this function is enabled, View binding generates a binding class for each XML layout file included in that module. In most cases, viewbinding replaces findViewById. Developers can refer to all views with IDs without worrying about the risk of an empty pointer or class forced conversion exception. To enable viewbinding in a project, add the following to each module's build.gradle file:

android {
    viewBinding.enabled = true
}

Check out this blog for more information

New Design Editor

Such as layout editor and navigation editor belong to

orgsrc=//img2018.cnblogs.com/news/66372/202002/66372-20200226085105602-1965025356.gif

Split view replaces and improves earlier

Recoverable SDK Download

The new version adds breakpoint renewal function for SDK download. When we use Android studio SDK manager to download Android SDK components and tools, we can recover the interrupted download (for example, due to network problems), without downloading again from scratch. This enhancement is particularly useful for downloading large files, such as Android emulators or system image files, when the network is unreliable.

orgsrc=//img2018.cnblogs.com/news/66372/202002/66372-20200226085105365-473980366.png

Suspension and resumption of download

New leak detection function for memory profiler

According to the developer's feedback, version 3.6 added the ability to detect memory leaks in Activity and Fragment instances in Memory Profiler. First, grab or import the mapdump file in Memory Profiler, and then select Activity/Fragment LeaksCheck boxes to generate results.

orgsrc=//img2018.cnblogs.com/news/66372/202002/66372-20200226085105356-1039285131.png

For more information on how Android studio detects memory leaks,Please view the document.

Android simulator embedded in Google Maps UI and multi screen support

The new version embeds the Google Maps UI in the Extended Control menu, making it easier for developers to specify locations and construct routes between two locations.

orgsrc=//img2018.cnblogs.com/news/66372/202002/66372-20200226085105900-910247724.gif

As more and more devices support split screen mode, it becomes very important to test applications in various multi screen environments. This version adds multi screen support for Android emulators.

orgsrc=//img2018.cnblogs.com/news/66372/202002/66372-20200226085105383-1938194446.png

orgsrc=//img2018.cnblogs.com/news/66372/202002/66372-20200226085105621-1223562384.png

Please check the details

https://android-developers.googleblog.com/2020/02/android-studio-36.html

China IT News APP

Download China IT News APP

Please rate this news

The average score will be displayed after you score.

Post comment

Do not see clearly? Click for a new code.

User comments