Android Studio 2.3 has finally been released in the Stable Channel. There are many improvements compared to version 2.2, including:
Migration from Android Studio 2.2 to Android Studio 2.3 may not be completely painless.
This is a list of things that you may need to check to have everything working correctly.
In your root build.gradle file the gradle version should be updated to 2.3.0:
classpath ‘com.android.tools.build:gradle:2.3.0’
The gradle distribution should be updated to version 3.3, so check for the following line in file gradle/wrapper/gradle-wrapper.properties:
distributionUrl=https://services.gradle.org/distributions/gradle-3.3-all.zip
If you are using Kotlin, update both the Android Studio plugin and the dependency in your build.gradle to version 1.1.0
If you use annotation processors (like ButterKnife for example):
remove the following line:
apply plugin: ‘android-apt’
change all occurrences of “apt” to “annotationProcessor”:
compile ‘com.jakewharton:butterknife:8.4.0’
annotationProcessor ‘com.jakewharton:butterknife-compiler:8.4.0’
You can find a complete list of improvements in the original blog post: https://android-developers.googleblog.com/2017/03/android-studio-2-3.html
Pubblicato il March 8th, 2017 by Andrea Maglie