http://tools.android.com/tech-docs/new-build-system/version-compatibility

Version Compatibility

Post 1.0 Compatibility
Starting with Android Studio 1.0 and the Gradle plugin for Android 1.0, compatibility is a critical requirement.

While we are still looking at finalizing our policy you should at least expect:
 
Android Studio and the Android Gradle Plugin
Studio 1.x works with Gradle Plugin 1.y
Newer versions of the Gradle plugin may require newer versions of Studio to enable the new features in the IDE, but the project should open in older versions of Studio, and build from there (since Gradle does the build). We will be very careful about this.
We will determine later our compatibility story between Studio 2.x and Gradle Plugin 1.x and between Studio 1.x and Gradle Plugin 2.x
We will make every effort to keep compatibility where possible, and to provide good Quick Assist to help with migration where applicable.
The Android Gradle Plugin and Gradle
 Android Gradle Plugin Requires Gradle
 1.0.0 - 1.1.3  2.2.1 - 2.3
 1.2.0 - 1.3.1  2.2.1 - 2.9
 1.5.0  2.2.1 - 2.+
 2.0.0  2.10 - 2.+
We recommend using the latest Gradle possible for your project for performance reasons.

Post 1.0 DSL compatibility

The DSL changed a lot before 1.0, but it should be stable now.

If/When we need to change things we will have long deprecation periods, likely longer than 6 months, possibly 12 months.

Preview Compatibility

This table indicate compatibility for pre-1.0 components.
 
All this breaking changes happened because we tweaked the model exchanged between the IDE and Gradle a lot. All this work was to ensure stability after 1.0. 
 
 Android Studio  Android Gradle Plugin  Gradle
 1.0.0 RC1 - 1.0.0 RC 4 0.14.0 - 1.0.0.rc4+  2.2, 2.2.1
 0.9.0-0.9.3  0.14.0 - 0.14.4  2.1
 0.8.11+  0.13+, 0.12+  2.1 (for plugin 0.13; for 0.12 use 1.10-1.12)
 0.8.0 - 0.8.10  0.12+  1.10 - 1.12
 0.6.0, 0.6.1+  0.11+  1.10 - 1.12
 0.5.8 - 0.5.9  0.9, 0.10  1.10 - 1.12 (1.12 requires plugin 0.10)
 0.5.0 - 0.5.7  0.9  1.10, 1.11
 0.4.3 - 0.4.6  0.7, 0.8  1.9, 1.10 (required for plugin 0.8)
 0.4.0 - 0.4.2  0.7  1.9
 0.3.0 - 0.3.7  0.6   1.8
 0.2.0 - 0.2.13  0.5  1.7
 
 
 

The Android Gradle Plugin and Gradle version-compatibility的更多相关文章

  1. Android官方技术文档翻译——Gradle 插件用户指南(1-3)

    不知道是什么网络问题,上午一直发不了博客,其它页面基本正常,就是在写博客这里,每次打开都是响应超时.刚才用了VPN,顺便试了一下,竟然能够编辑.想是CDN之类的问题吧. 这次翻译的是Gradle 插件 ...

  2. The android gradle plugin version 2.3.0-beta2 is too old, please update to the latest version.

    编译项目的时候,报如下错误: Error:(, ) A problem occurred evaluating project ':app'. > Failed to apply plugin ...

  3. Configuration on demand is not supported by the current version of the Android Gradle plugin since you are using Gradle version 4.6 or above. Suggestion: disable configuration on demand by setting org

    androidStudio打开cocos3.17.2Lua项目时,出现了 Configuration on demand is not supported by the current version ...

  4. Android-Version Compatibility Issues (Gradle 2.14.1 requires Android Gradle plugin 2.1.3 (or newer)) but project is using

      当AndroidStudio加载工程Project的时候,出现以上错误❌,千万不要点击,否则就是更多其他的错误:   解决方案: 1.认真翻译错误: 2.分析问题发生的原因,然后看到了 ..... ...

  5. Android Studio, gradle plugin is too old or set ANDROID_DAILY_OVERRIDE

    早上打开Android Studio,忽然报了个错,说gradle plugin版本过低,让更新或者设置ANDROID_DAILY_OVERRIDE环境变量: 日志如下: INFO - ls.idea ...

  6. 彻底搞懂Gradle、Gradle Wrapper与Android Plugin for Gradle的区别和联系

    首先用一段通俗易懂但是不是非常专业的话描述一下三者的概念.区别和联系. Gradle是个构建系统,能够简化你的编译.打包.测试过程.熟悉Java的同学,可以把Gradle类比成Maven. Gradl ...

  7. Android自定义Aop的Gradle Plugin

    [上一篇文章]中讲解了如何在Android使用AOP,会发现在Gradle配置aop会比较麻烦,每个module使用了aop都需要配置.接下来看如何简化配置. 1.创建Module 首先,需要建立一个 ...

  8. Gradle之Android Gradle Plugin 主要 Task 分析(三)

    [Android 修炼手册]Gradle 篇 -- Android Gradle Plugin 主要 Task 分析 预备知识 理解 gradle 的基本开发 了解 gradle task 和 plu ...

  9. Gradle之Android Gradle Plugin 主要流程分析(二)

    [Android 修炼手册]Gradle 篇 -- Android Gradle Plugin 主要流程分析 预备知识 理解 gradle 的基本开发 了解 gradle task 和 plugin ...

随机推荐

  1. SVM学习笔记

    一.SVM概述 支持向量机(support vector machine)是一系列的监督学习算法,能用于分类.回归分析.原本的SVM是个二分类算法,通过引入“OVO”或者“OVR”可以扩展到多分类问题 ...

  2. OpenFlow Switch学习笔记(一)——基础概念

    OpenFlow Switch v1.4.0规范是在2013年10月14号发布,规范涵盖了OpenFlow Switch各个组件的功能定义.Controller与Switch之间的通信协议Open F ...

  3. C# 扩展方法 总结

    扩展方法是静态方法,它是类的一部分,但实际上没有放在类的源代码中. 设计一个Money类 public class Money { private decimal amount; public dec ...

  4. free命令

    最近服务器总是出问题,研究一下free 以M的形式显示: 参数: Swap 是交换区信息, Swap空间的作用可简单描述为:当系统的物理内存不够用的时候,就需要将物理内存中的一部分空间释放出来,以供当 ...

  5. 第一部分 python基础

    1.1,参数传递:*代表元组,**代表字典 1.2 ,常用数据类型 列表 [1,2,3] 元组 (1,2,3) 不可变的list 集合 {1,2,3} 字典 {1:a, 2:c} (4)字典以关键字为 ...

  6. 2分钟读懂Hadoop和Spark的异同

    谈到大数据框架,现在最火的就是Hadoop和Spark,但我们往往对它们的理解只是提留在字面上,并没有对它们进行深入的思考,倒底现在业界都在使用哪种技术?二者间究竟有哪些异同?它们各自解决了哪些问题? ...

  7. Linux下删除乱码或特殊字符文件

    今天遇到一个问题,一个文件名是“-MXV9.log”,直接用rm删除的时候就报错,如下: [localhost]rm -MXV9.log rm: illegal option -- M rm: ill ...

  8. 137. Single Number II

    Given an array of integers, every element appears three times except for one. Find that single one. ...

  9. My97DatePickerBeta 时间选择控件用法

    用法说明:只需要调用一个js<script language="javascript" type="text/javascript" src=" ...

  10. SQL注入测试平台 SQLol -3.INSERT注入测试

    访问首页的insert模块,http://127.0.0.1/sql/insert.php,开始对insert模块进行测试. insert语句: INSERT INTO [users] ([usern ...