编译缓存是 Android Studio 2.2 版本被引入的的一个功能,能够缓存项目中导入的 AAR、Libray,能够加快调试过程中的编译时间。新版本(2.3)在此基础上进一步优化,同时默认打开这个功能,在 2.2 版本上默认处于关闭状态。
Note: If your project uses Android plugin version 2.2.2 or 2.2.3, it's using the experimental version of the build cache feature. You should update your project to use the latest version of the Android plugin.
建议:要使用编译缓存,建议将Android plugin的版本号设置为2.3.0或者更高版本