Android Studio 3.0 Canary 有哪些值得期待的更新?

Google announces the first preview of Android Studio 3.0, puts emphasis on speed and smarts

本題已收錄至知乎圓桌:Google I/O 2017,更多「Google I/O」相關話題歡迎關注討論


來自Android Studio官網更新日誌:

Android Studio 3.0 Canary 1, SDK Updates, and http://maven.google.com are now available

Wednesday, May 17, 2017Today we have lots of updates to share with you including Android Studio 3.0 Canary 1, SDK updates, new library updates through maven.google.com, and additional Android O support.

Android Studio 3.0 Canary 1

This canary and dev channel release encapsulates our previous work in Android Studio 2.4, but mergers with our Gradle 2.5 plugin using Gradle 4.0 milestone 1. Given the magnitude of this update: new features, Kotlin language support, and breaking Gradle changes, we have decided to promote the version to Android Studio 3.0.

The Android Gradle plugin 3.0.0-alpha1 aims to improve build performance for Android projects with a large number of modules. In order to bring about these gains, there are some breaking changes in the plugin behavior, DSL, and APIs. This impacts both build files and Gradle plugins. For instructions on how to migrate your own project to use this plugin, see Migrate to the 3.0 Plugin.

Unfortunately we are not able to offer patches to Android Studio 3.0 from Android Studio 2.4 Preview 7 or any previous version. We will continue to offer patch upgrades as new canaries are released from Android Studio 3.0, but can not offer patches to this version. We will not update Android Studio 2.4 versions any further.

For much more information, see the Android Studio 3.0 announcement.

Googles Maven repository for Android libraries

The Android Support Library dependencies are now available from Googles Maven repository at http://maven.google.com—instead of downloading from the Android SDK Manager.

This new distribution method simplifies Maven dependency management for those using continuous integration systems.

Two new libraries available today are: Architecture Components Library, Android Instant App Library, and we have updated Support Library to 26.0.0-beta1*.

In the future we plan to distribute all Android libraries only through maven.google.com.

From now on, the latest versions of the following libraries are available only from Googles Maven repo (new versions are not available in the SDK Manager):

  • Android Support Library
  • Constraint Layout Library
  • Android Test Support Library
  • Databinding Library

To start using Googles Maven repository, follow these instructions to update your build dependencies.

SDK Updates

The majority of these updates include bug fixes and added support for the O Beta 1 update. If you are doing O development it is highly recommended that you set Android Studio to the Canary channel and update all SDK components offered to the newest version.

Canary and Dev Channel Updates

  • SDK Platform O r2*
  • Build-tools 26.0.0-rc2
  • Platform-Tools 26.0.0-rc2
  • Emulator 26.1.0
  • Lldb-3.0.3970975
  • Android O Google APIs x86 System Images r3
  • Android TV x86 O System Image r2
  • Android O Play x86 Play System Images r3
  • O Wear System Image r2
  • NDK r15 beta 2
  • Android Instant Apps 1.0
  • Google Repository Updates

Stable Channel Updates

  • Platform-tools 25.0.6

* Updates in SDK Platforms O r2 require you to have Support Library 26.0.0-beta1 installed to compile O Beta 1 targeted applications.


Android Studio 3.0 Canary 有三個主要 features

  1. 一個新的性能分析工具,快速診斷性能問題。
  2. 支持Kotlin 語言的。
  3. 加快大項目 Gradle 構建速度。


kotlin

jni


不需要插件,不需要jack,就可以支持lambda,這個比較喜歡


期待Android Studio 3.0 穩定版本


推薦閱讀:

idea怎麼取消自動保存,自動導入會自動import .*怎麼辦?
Android Studio如何有步驟地解決衝突問題?
Android studio上面繼承BaseAdapter後怎麼才能自動生成getView等方法?
Android開發 強制退出了任務,後台顯示服務還在,但是程序裡面的Socket卻中斷了?
這種ui誰能給點思路?

TAG:Android開發 | GoogleIO | AndroidStudio |